Sha256: a00282f6d4bd51d2cc3470f52a397567ec664e0cb4045665ac60fbf47e908102
Contents?: true
Size: 661 Bytes
Versions: 1
Compression:
Stored size: 661 Bytes
Contents
Rails.application.routes.draw do mount Ckeditor::Engine => '/ckeditor' resources :forms, :only => [] do member do get :download get :deliver end end resources :form_answers do collection do post :find_or_create get :attachments end end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-selleo-cms-0.0.54 | config/routes.rb |