module Rad class ControllerContext < TemplateContext def controller workspace.controller.must_be.defined end def controller_name @controller_name #workspace.controller.class.controller_name end def action_name @action_name #workspace.action.to_sym end end end