hubfeenix.fi/config/routes.rb

22 lines
542 B
Ruby
Raw Normal View History

2022-11-21 11:10:04 +01:00
Rails.application.routes.draw do
resources :events
2023-01-15 23:17:22 +01:00
resources :profiles
2023-01-13 19:50:41 +01:00
resources :entities
2023-01-20 07:15:33 +01:00
devise_for :members ,controllers: { registrations: 'registrations' }
devise_scope :member do
get "/members/edit_email" , to: "registrations#edit_email"
end
2022-12-21 16:30:29 +01:00
resources :members
2022-12-31 21:01:51 +01:00
mount Thredded::Engine => '/forum'
2022-11-21 11:10:04 +01:00
2022-11-29 00:13:46 +01:00
mount Merged::Engine => "/merged"
2023-01-08 22:49:20 +01:00
get "/news/:id" , to: "merged/view#page" , id: :id , as: :view_blog
get ":id" , to: "merged/view#page" , id: :id , as: :view_page
2023-01-08 13:59:10 +01:00
root "merged/view#page" , id: 'index'
2022-11-21 11:10:04 +01:00
end