Rails.application.routes.draw do resources :events resources :profiles, except: :index resources :entities get "/teachers" , to: "profiles#teachers" devise_for :members ,controllers: { registrations: 'registrations' } devise_scope :member do get "/members/edit_email" , to: "registrations#edit_email" end resources :members do get 'settings' , on: :collection end merged_routes root: true mount Thredded::Engine => '/forum' end