Follow Along as I Stumble on the Path to Learning RoR

How to Check the Controller

I needed to write a conditional statement checking the controller, I figured out the syntax through this post:

http://stackoverflow.com/questions/5222723/how-do-i-write-a-conditional-to-test-which-page-im-on-in-rails

Advertisements

Comments are closed.