Route comment

This commit is contained in:
Zanz2 2018-09-07 15:52:30 +02:00
parent bad07841da
commit e82af2186e

View file

@ -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