Sha256: 537f10dcc9e1fb49d88331bee997258cf8b8aa5d490b2a93dc50d101cb32da49

Contents?: true

Size: 490 Bytes

Versions: 14

Compression:

Stored size: 490 Bytes

Contents

Rails.application.routes.draw do
   namespace :spud do
   	namespace :admin do
         resources :pages do
           get :page_parts, :on => :collection
         end
         resources :templates 
   		
   		resources :menus do
   			resources :menu_items
   		end
   		resources :contacts
   	end
      namespace :cms do
         resource :sitemap,:only => "show"
      end
   end
   root :to => 'pages#show'
   match ":id", :controller => "pages",:action => "show", :as => "page"

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
spud_cms-0.4.8 config/routes.rb
spud_cms-0.4.7 config/routes.rb
spud_cms-0.4.6 config/routes.rb
spud_cms-0.4.5 config/routes.rb
spud_cms-0.4.4 config/routes.rb
spud_cms-0.4.3 config/routes.rb
spud_cms-0.4.0 config/routes.rb
spud_cms-0.3.7 config/routes.rb
spud_cms-0.3.6 config/routes.rb
spud_cms-0.3.4 config/routes.rb
spud_cms-0.3.3 config/routes.rb
spud_cms-0.3.2 config/routes.rb
spud_cms-0.3.1 config/routes.rb
spud_cms-0.3.0 config/routes.rb