Question from the Ruby on Rails test

How to call a method before every action in a Rails controller

Easy

In my controller, I want to execute a method before each action.
How do I specify it?

Author: Clément DevosStatus: Published(Update)Question passed 74 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!