Module: Fiveruns::Dash::Rails::ActionContext::InstanceMethods
- Defined in:
- lib/fiveruns/dash/rails.rb
Instance Method Summary collapse
Instance Method Details
#perform_action_with_fiveruns_dash_context(*args, &block) ⇒ Object
132 133 134 135 136 |
# File 'lib/fiveruns/dash/rails.rb', line 132 def perform_action_with_fiveruns_dash_context(*args, &block) action_name = (request.parameters['action'] || 'index').to_s Fiveruns::Dash::Context.set ['action', %(#{self.class.name}##{action_name})] perform_action_without_fiveruns_dash_context(*args, &block) end |