You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this question was asked before.
I was having custom page, named as Status but I cant find a way to define custom routes for my custom page, eg: localhost:3000/admin/dashboard/status instead of localhost:3000/admin/status (default).
ActiveAdmin.routes(self)# setup routes for active admin
I have tried to using namespace, but it does not work in my case, because dashboard is a constant/mode object, but just prefix/name I want to add for this particular route.
This discussion was converted from issue #6260 on March 13, 2023 00:03.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sorry if this question was asked before.
I was having custom page, named as
Status
but I cant find a way to define custom routes for my custom page, eg:localhost:3000/admin/dashboard/status
instead oflocalhost:3000/admin/status
(default).My code snippet:
in my
config/routes
:I have tried to using namespace, but it does not work in my case, because dashboard is a constant/mode object, but just prefix/name I want to add for this particular route.
Beta Was this translation helpful? Give feedback.
All reactions