Closed
Description
I have 2 controllers having the same name but in different scopes and have the different routes but documentation not considering both , its considering only one , please look at the following example
scope module: :courier do
resources :devices, path: "/couriers/devices"
end
scope module: :user do
resources :devices, path: "/users/devices"
end
courier devices controller
api :POST, '/couriers/devices', 'Create device for courier'
user devices controller
api :POST, '/users/devices', 'Create device for user'
on documentation I see only couriers part like the following
POST /api/couriers/devices" Create device for courier
I dont see my users url documentation, Whats wrong in that ? is this gem not working for scopes?
Metadata
Metadata
Assignees
Labels
No labels