Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 173
- Log:
Updated to latest release of Beast according to the "getting started with
Beast" guide at:http://beast.caboo.se/forums/1/topics/381
This check-in includes frozen Edge Rails and has the beginnings of
configuration for the ROOL site included.
- Author:
- rool
- Date:
- Fri Mar 02 15:59:12 +0000 2007
- Size:
- 1609 Bytes
1 | PATH_PREFIX ||= '' |
2 | |
3 | ActionController::Routing::Routes.draw do |map| |
4 | map.home PATH_PREFIX + '/', :controller => 'forums', :action => 'index' |
5 | |
6 | map.resources :sessions, :path_prefix => PATH_PREFIX |
7 | |
8 | map.resources :users, :path_prefix => PATH_PREFIX, :member => { :admin => :post } do |user| |
9 | user.resources :moderators |
10 | end |
11 | |
12 | map.resources :forums, :path_prefix => PATH_PREFIX do |forum| |
13 | forum.resources :topics do |topic| |
14 | topic.resources :posts, :monitorships |
15 | end |
16 | end |
17 | |
18 | map.resources :posts, :name_prefix => 'all_', :path_prefix => PATH_PREFIX, :collection => { :search => :get } |
19 | |
20 | %w(user forum).each do |attr| |
21 | map.resources :posts, :name_prefix => "#{attr}_", :path_prefix => PATH_PREFIX + "/#{attr.pluralize}/:#{attr}_id" |
22 | end |
23 | |
24 | map.signup PATH_PREFIX + '/signup', :controller => 'users', :action => 'new' |
25 | map.settings PATH_PREFIX + '/settings', :controller => 'users', :action => 'edit' |
26 | map.activate PATH_PREFIX + '/activate/:key', :controller => 'users', :action => 'activate' |
27 | map.login PATH_PREFIX + '/login', :controller => 'sessions', :action => 'new' |
28 | map.logout PATH_PREFIX + '/logout', :controller => 'sessions', :action => 'destroy' |
29 | map.with_options :controller => 'posts', :action => 'monitored' do |map| |
30 | map.formatted_monitored_posts PATH_PREFIX + '/users/:user_id/monitored.:format' |
31 | map.monitored_posts PATH_PREFIX + '/users/:user_id/monitored' |
32 | end |
33 | |
34 | map.exceptions PATH_PREFIX + '/logged_exceptions/:action/:id', :controller => 'logged_exceptions', :action => 'index', :id => nil |
35 | end |