Sha256: 32270bdad126a69d7d0f8ebf60331bb32a97de77559f3147072a5e75a811d422
Contents?: true
Size: 571 Bytes
Versions: 3
Compression:
Stored size: 571 Bytes
Contents
Rails.application.routes.draw do namespace :admin do resources :pages do get :page_parts, :on => :collection get :clear, :on => :collection member do post 'preview' end end resources :snippets resources :menus do resources :menu_items end resources :contacts end namespace :cms do resource :sitemap,:only => "show" end root :to => 'pages#show' # This is located in lib/spud_cms/page_route.rb to make sure it is loaded last # match "*id", :controller => "pages",:action => "show", :as => "page" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tb_cms-1.0.3 | config/routes.rb |
tb_cms-1.0.2 | config/routes.rb |
tb_cms-1.0.1 | config/routes.rb |