Sha256: ad65ce4839d2a5cdee4d386021dc4ecd0cc55d557a2d96622dd60c0c5592fe40

Contents?: true

Size: 615 Bytes

Versions: 3

Compression:

Stored size: 615 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'
   
   # 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
Spud::Cms::Engine.routes.draw do
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spud_cms-0.7.2 config/routes.rb
spud_cms-0.7.1 config/routes.rb
spud_cms-0.7.0 config/routes.rb