Sha256: b1c2d7982074c7a145de5fcea863eb0e45f8620a4549e4533f2dea0aa74ae6c5

Contents?: true

Size: 325 Bytes

Versions: 6

Compression:

Stored size: 325 Bytes

Contents

Rails.application.routes.draw do
  scope :module => :kuhsaft do
    scope ':locale' do
      namespace :cms do
        resources :pages do
          resources :page_parts
        end
        resources :assets
      end
    end
  end
  match '/:locale/*url' => 'kuhsaft/pages#show', :constraints => { :locale => /\w{2}/ }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kuhsaft-0.2.legacy4 config/routes.rb
kuhsaft-0.3.4.legacy3 config/routes.rb
kuhsaft-0.2.legacy3 config/routes.rb
kuhsaft-0.2.legacy config/routes.rb
kuhsaft-0.3.4.legacy2 config/routes.rb
kuhsaft-0.3.4.legacy config/routes.rb