controller.controller_name
That is a useful bit of Rails code for when you need to know what controller is being used in a view.
controller.controller_name
That is a useful bit of Rails code for when you need to know what controller is being used in a view.
Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)