about summary refs log tree commit diff stats
path: root/config/routes.rb
blob: 1003a8b2820a47fb8c9759a4b2c9417bb6bf2baf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Rails.application.routes.draw do
  namespace :admin do
    get '/', to: 'dashboard#index'

    resources :blogs, except: [:show]
  end

  mount Ckeditor::Engine => '/ckeditor'

  devise_for :users, controllers: {
    sessions: 'users/sessions',
    passwords: 'users/passwords'
  }

  root "records#index"

  get 'says/:slug', to: 'entries#show'
end