How to use action_item on "index" page and have access to the ID of the row being rendered? #8631
-
I was trying to create a button called "approve", but I need the resource ID of the row being rendered in the table to correctly link. |
Beta Was this translation helpful? Give feedback.
Answered by
javierjulio
Feb 17, 2025
Replies: 1 comment 1 reply
-
@Fire-Dragon-DoL yes, that's intentional. You'll need to add a link to the table row instead: https://activeadmin.info/3-index-pages/index-as-table.html#defining-actions |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Fire-Dragon-DoL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Fire-Dragon-DoL yes, that's intentional. You'll need to add a link to the table row instead: https://activeadmin.info/3-index-pages/index-as-table.html#defining-actions