hubfeenix.fi/config/routes.rb

17 lines
356 B
Ruby
Raw Normal View History

2022-11-21 11:10:04 +01:00
Rails.application.routes.draw do
2023-01-13 19:50:41 +01:00
resources :entities
2022-12-21 16:30:29 +01:00
devise_for :members
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