Sha256: ef4fb4776036579fccab12a151e903c393c8497403ff28880759e34b6bdefb28

Contents?: true

Size: 578 Bytes

Versions: 10

Compression:

Stored size: 578 Bytes

Contents

Cmor::Cms::Backend::Engine.routes.draw do
  resources :add_homepages_service, only: [:create, :new]
  resources :import_partials_service, only: [:create, :new]

  resources :content_boxes
  resources :navigations
  
  resources :navigation_items do
    post :toggle_published, on: :member
    post :reposition, on: :member
  end
  
  resources :pages do
    post :toggle_published, on: :member
  end
  
  resources :partials do
    post :toggle_published, on: :member
  end
  
  resources :templates do
    post :toggle_published, on: :member
  end

  root to: 'home#index'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cmor_cms_backend-0.0.53.pre config/routes.rb
cmor_cms_backend-0.0.52.pre config/routes.rb
cmor_cms_backend-0.0.51.pre config/routes.rb
cmor_cms_backend-0.0.50.pre config/routes.rb
cmor_cms_backend-0.0.49.pre config/routes.rb
cmor_cms_backend-0.0.48.pre config/routes.rb
cmor_cms_backend-0.0.45.pre config/routes.rb
cmor_cms_backend-0.0.44.pre config/routes.rb
cmor_cms_backend-0.0.43.pre config/routes.rb
cmor_cms_backend-0.0.42.pre config/routes.rb