[Ruby on Rails] How to Get Current Controller Name and Action Name in Views
A memo on how to get the current controller name and action name in views in Ruby on Rails.
controller.controller_name
controller.action_name
[Reference]:How to Reference Current Controller Name and Action Name in Rails Views #Rails - Qiita
That’s all from the Gemba.