hubfeenix.fi/config/routes.rb
2023-06-12 15:47:54 +03:00

22 lines
464 B
Ruby

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