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
I think the description of standalone actions could be better. As far as I understand it, default (non-standalone) actions always act on the selected records (in index view) or the current record (in show view). Is that correct?
When I added a non-standalone action and clicked on it in the index view (without first selecting any records), nothing happened. Maybe a popup saying "please select some records first" would be more helpful?
Copy file name to clipboardexpand all lines: docs/3.0/actions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -551,7 +551,7 @@ You will be prompted by a confirmation modal when you run an action. If you don'
551
551
552
552
## Standalone actions
553
553
554
-
You may need to run actions that are not necessarily tied to a model. Standalone actions help you do just that. Add `self.standalone` to an existing action or generate a new one using the `--standalone` option (`bin/rails generate avo:action global_action --standalone`).
554
+
You may need to run actions that are not necessarily tied to specific records. Standalone actions help you do just that. Add `self.standalone` to an existing action or generate a new one using the `--standalone` option (`bin/rails generate avo:action global_action --standalone`).
0 commit comments