2022-11-21 12:10:04 +02:00
|
|
|
Rails.application.routes.draw do
|
2023-01-11 18:48:06 +02:00
|
|
|
resources :stories
|
2022-12-21 00:34:11 +02:00
|
|
|
|
2022-12-21 17:30:29 +02:00
|
|
|
devise_for :members
|
|
|
|
|
2022-12-21 00:34:11 +02:00
|
|
|
resources :members
|
|
|
|
|
2022-12-31 22:01:51 +02:00
|
|
|
mount Thredded::Engine => '/forum'
|
2022-11-21 12:10:04 +02:00
|
|
|
|
2022-11-29 01:13:46 +02:00
|
|
|
mount Merged::Engine => "/merged"
|
|
|
|
|
2023-01-08 23:49:20 +02: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 14:59:10 +02:00
|
|
|
root "merged/view#page" , id: 'index'
|
2022-11-21 12:10:04 +02:00
|
|
|
end
|