Sha256: 227e9ac5d579584b976130ae559c42e86bfde5912e9d9eccfed31d9e149b27a4

Contents?: true

Size: 477 Bytes

Versions: 8

Compression:

Stored size: 477 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 do
        put :update_sort, :on => :collection
      end
 		end
 		resources :contacts
 	end

  namespace :cms do
    resource :sitemap, :only => "show"
  end

  root :to => 'pages#show'

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tb_cms-1.3.6 config/routes.rb
tb_cms-1.3.5 config/routes.rb
tb_cms-1.3.3 config/routes.rb
tb_cms-1.3.2 config/routes.rb
tb_cms-1.3.1 config/routes.rb
tb_cms-1.3.0 config/routes.rb
tb_cms-1.3.beta1 config/routes.rb
tb_cms-1.2.3 config/routes.rb