mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +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),
|
||||
path: '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),
|
||||
path: 'activities',
|
||||
as: :activities
|
||||
|
|
Loading…
Reference in a new issue