Changesets can be listed by changeset number.
The Git repository is here.
Changeset 325
Collaboa equivalent of Revision #315 and Revision #318
in Beast.
- Comitted by: rool
- Date: Friday March 18 14:45:10 2011 (over 13 years ago)
Affected files:
- rool/rails/collaboa/trunk/vendor/rails/
- rool/rails/collaboa/trunk/config/environment.rb (diff)
- rool/rails/collaboa/trunk/config/routes.rb (diff)
rool/rails/collaboa/trunk/config/environment.rb:
prev. | current | |
# (Use only when you can't set environment variables through your web/app server) | ||
# ENV['RAILS_ENV'] = 'production' | ||
7 | # Rails Gem Version | |
8 | RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION | |
9 | ||
# Bootstrap the Rails environment, frameworks, and default configuration | ||
require File.join(File.dirname(__FILE__), 'boot') | ||
10 | ||
11 | ||
Rails::Initializer.run do |config| | ||
13 | | |
14 | | |
15 | | |
16 | | |
17 | ||
# Skip frameworks you're not going to use | ||
config.frameworks -= [ :action_web_service, :action_mailer ] | ||
rool/rails/collaboa/trunk/config/routes.rb:
prev. | current | |
# map.connect 'products/:id', :controller => 'catalog', :action => 'view' | ||
# Keep in mind you can assign values other than :controller and :action | ||
9 | | |
9 | map.connect '/admin', :controller => 'admin/dashboard', :action => 'index' | |
11 | | |
11 | map.connect '/repository/browse/*path', | |
:controller => 'repository', | ||
:action => 'browse' | ||
# "Routing Error: Path components must occur last" :( | ||
16 | | |
16 | #map.connect '/repository/browse/*path/rev/:rev', | |
# :controller => 'repository', | ||
# :action => 'browse', | ||
# :rev => /\d+/ | ||
# TODO: Rework this into a general browse/view_file usable thing | ||
22 | | |
22 | #map.connect '/repository/file/rev/:rev/*path', | |
# :controller => 'repository', | ||
# :action => 'view_file', | ||
# :rev => /\d+/ | ||
27 | | |
27 | map.connect '/repository/file/*path', | |
:controller => 'repository', | ||
:action => 'view_file' | ||
31 | | |
31 | map.connect '/repository/revisions/*path', | |
:controller => 'repository', | ||
:action => 'revisions' | ||
35 | | |
35 | map.connect '/repository/changesets', | |
:controller => 'repository', | ||
:action => 'changesets' | ||
39 | | |
39 | map.connect '/repository/changesets/:revision', | |
:controller => 'repository', | ||
:action => 'show_changeset' | ||
43 | | |
43 | map.connect '/tickets', | |
:controller => 'tickets', | ||
:action => 'index' | ||
47 | | |
47 | map.connect '/tickets/new', | |
:controller => 'tickets', | ||
:action => 'new' | ||
51 | | |
51 | map.connect '/tickets/:id', | |
:controller => 'tickets', | ||
:action => 'show', | ||
:requirements => { :id => /\d+/ } | ||
56 | | |
56 | map.connect '/milestones', | |
:controller => 'milestones', | ||
:action => 'index' | ||
60 | | |
60 | map.connect '/milestones/:id', | |
:controller => 'milestones', | ||
:action => 'show' | ||
# You can have the root of your site routed by hooking up '' | ||
# -- just remember to delete public/index.html. | ||
66 | | |
66 | map.connect '/', | |
:controller => 'tickets' | ||
# Allow downloading Web Service WSDL as a file with an extension | ||
... | ... | |
#map.connect ':controller/service.wsdl', :action => 'wsdl' | ||
# Install the default route as the lowest priority. | ||
74 | | |
74 | map.connect '/:controller/:action/:id' | |
end |