Sha256: e50053215f70406320d30de2e73e8f90cc0b89d5b81f5571e7fad39f744f3cab
Contents?: true
Size: 1.12 KB
Versions: 34
Compression:
Stored size: 1.12 KB
Contents
Rails.application.routes.draw do # management match 'manage' => 'management/default#index' match 'manage/login' => 'management/user#login' match 'manage/logout' => 'management/user#logout' match 'manage/user(/:action(/:id))' => 'management/user' match 'manage/cms/preview_template' => 'cms/content#preview_template' match 'manage/cms(/:action(/:id))' => 'management/cms' # slowly convert to resourceful routes # match 'manage/users(/:action(/:id))' => 'management/users' resources :users, :path => 'manage/users', :controller => 'management/users' do member do post :enable post :disable post :edit # COMPAT: Remove for 3.1 end end # end match 'util/date_picker' => 'util#date_picker', :as => :date_picker # primary CMS content routes root :to => 'cms/content#show' match 'rss/:page_id/:page_list_name' => 'cms/content#rss_feed' match '*content_path' => 'cms/content#show' end
Version data entries
34 entries across 34 versions & 1 rubygems