Add before_action snippet
Merge pull request #308 from robertomiranda/patch-1

Add before_action snippet (Rails)