Sha256: 82e716e10287b0c6e005d7a10de1f68f717c11b2718b18d3c13ac50e23700445
Contents?: true
Size: 446 Bytes
Versions: 25
Compression:
Stored size: 446 Bytes
Contents
Rails.application.routes.draw do mount Ckeditor::Engine => '/ckeditor' scope ":locale", :locale => /\w{2}/ do scope "search" do resources :searches, path: '', only: [:show] end # TODO refactor match ':slug5(/:slug4(/:slug3(/:slug2(/:slug1))))' => 'pages#show' resources :pages, path: '', only: [:show, :index] end match ':locale' => 'pages#show' root to: 'pages#show' resources :locales, only: :show end
Version data entries
25 entries across 25 versions & 1 rubygems