Sha256: 3320d33a35225097878863d3f685f362b636131b6356a85614d91da71f839995

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

Kuhsaft::Engine.routes.draw do
  namespace :cms do
    resources :pages, :except => :show
    resources :bricks, :except => [:new, :edit, :index] do
      post :sort, :on => :collection
    end

    resources :assets
    root :to => 'pages#index'
  end

  scope ":locale", :locale => /#{I18n.available_locales.join('|')}/ do
    resources :pages, :only => [:index]
    match '*url' => 'pages#show'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kuhsaft-1.6.0 config/routes.rb
kuhsaft-1.5.0 config/routes.rb