detecting controller in application layout

Also works:

        <%= controller.controller_name %>
        <%= controller.action_name %>

--Andrew Vit