Categories
Is it possible to get the name of the called action from the filter?
There is a filter: before_action FooBar Is it possible to somehow get the name of the action in FooBar?
before_action FooBar
Answer the question
In order to leave comments, you need to log in
The name of the action must be at least in params[:action] and action_name
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question