Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 1769 Bytes
1 | ActionController::Routing::Routes.draw do |map| |
2 | |
3 | # Admin RESTful Routes |
4 | map.namespace :admin, :member => { :remove => :get } do |admin| |
5 | admin.resources :pages do |pages| |
6 | pages.resources :children, :controller => "pages" |
7 | end |
8 | admin.resources :layouts |
9 | admin.resources :snippets |
10 | admin.resources :users |
11 | end |
12 | |
13 | map.namespace :admin do |admin| |
14 | admin.resource :preferences |
15 | admin.resources :extensions, :only => :index |
16 | admin.resources :page_parts |
17 | admin.reference '/reference/:type.:format', :controller => 'references', :action => 'show', :conditions => {:method => :get} |
18 | end |
19 | |
20 | # Admin Routes |
21 | map.with_options(:controller => 'admin/welcome') do |welcome| |
22 | welcome.admin 'admin', :action => 'index' |
23 | welcome.welcome 'admin/welcome', :action => 'index' |
24 | welcome.login 'admin/login', :action => 'login' |
25 | welcome.logout 'admin/logout', :action => 'logout' |
26 | end |
27 | |
28 | # Export Routes |
29 | map.with_options(:controller => 'admin/export') do |export| |
30 | export.export 'admin/export', :action => 'yaml' |
31 | export.export_yaml 'admin/export/yaml', :action => 'yaml' |
32 | end |
33 | |
34 | # Site URLs |
35 | map.with_options(:controller => 'site') do |site| |
36 | site.root :action => 'show_page', :url => '/' |
37 | site.not_found 'error/404', :action => 'not_found' |
38 | site.error 'error/500', :action => 'error' |
39 | |
40 | # Everything else |
41 | site.connect '*url', :action => 'show_page' |
42 | end |
43 | |
44 | end |