Filters3:41 with Jay McGavren
At the top of your controller class, outside of any instance methods, you can call the before_action method, and pass it a symbol with the name of a method. With this set up, the controller will call that method before running any action method.
This video doesn't have any notes.
You need to sign up for Treehouse in order to download course files.Sign up