mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
Route comment
This commit is contained in:
parent
bad07841da
commit
e82af2186e
1 changed files with 2 additions and 0 deletions
|
@ -581,6 +581,8 @@ Rails.application.routes.draw do
|
||||||
resources :my_modules, only: %i(index show),
|
resources :my_modules, only: %i(index show),
|
||||||
path: 'descendants',
|
path: 'descendants',
|
||||||
as: :descendants
|
as: :descendants
|
||||||
|
# The above two are just my modules (tasks), so im not sure
|
||||||
|
# if i should duplicate controllers and serializers
|
||||||
resources :activities, only: %i(index show),
|
resources :activities, only: %i(index show),
|
||||||
path: 'activities',
|
path: 'activities',
|
||||||
as: :activities
|
as: :activities
|
||||||
|
|
Loading…
Reference in a new issue