Accessing name of controller and action from layout

<%= self.controller.action_name.eql?(‘my_page’) ? ‘current’ : self.controller.action_name %>