#[before_action]Expand description
Registers a before-action filter on the following action method.
Usage: #[before_action(fn_name)] or #[before_action(fn_name, only = [action1, action2])]
#[before_action]Registers a before-action filter on the following action method.
Usage: #[before_action(fn_name)] or #[before_action(fn_name, only = [action1, action2])]