Rails.application.routes.draw do # mount RailsAdminSelectize::Engine => '/rails-admin-selectize', as: 'rails_admin_selectize' mount RailsAdmin::Engine => '/app', as: 'rails_admin' mount Ckeditor::Engine => '/development/showcase-backend/ckeditor' get "home", to: "pages#home", as: "home" get "inside", to: "pages#inside", as: "inside" get "/contact", to: "pages#contact", as: "contact" post "/emailconfirmation", to: "pages#email", as: "email_confirmation" devise_for :users devise_scope :user do root to: "devise/sessions#new" end end