2022-11-21 11:10:04 +01:00
|
|
|
Rails.application.routes.draw do
|
2023-01-16 13:49:45 +01:00
|
|
|
resources :events
|
2023-01-15 23:17:22 +01:00
|
|
|
resources :profiles
|
2023-01-13 19:50:41 +01:00
|
|
|
resources :entities
|
2022-12-20 23:34:11 +01:00
|
|
|
|
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
|
|
|
|
2022-12-20 23:34:11 +01:00
|
|
|
resources :members
|
|
|
|
|
2022-12-31 21:01:51 +01:00
|
|
|
mount Thredded::Engine => '/forum'
|
2022-11-21 11:10:04 +01:00
|
|
|
|
2023-01-21 19:25:58 +01:00
|
|
|
mount Merged::Engine => "/merged" unless Rails.env.production?
|
2022-11-29 00:13:46 +01:00
|
|
|
|
2023-01-21 21:47:26 +01:00
|
|
|
post "/form" , to: "merged/form#post" , as: :post_form
|
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
|