vendor/bundle/gems/newrelic_rpm-3.7.2.192/lib/new_relic/agent/instrumentation/rails/action_controller.rb
# determine the path that is used in the metric name for
# the called controller action
determine the path that is used in the metric name for
the called controller action
determine the path that is used in the metric name for the called controller action
def newrelic_metric_path(action_name_override = nil)
        action_part = action_name_override || action_name
        if action_name_override || self.class.action_methods.include?(action_part)
          "#{self.class.controller_path}/#{action_part}"
        else
          "#{self.class.controller_path}/(other)"
        end
      end
def newrelic_metric_path ( action_name_override = nil ) action_part = action_name_override || action_name if action_name_override || self . class . action_methods . include? ( action_part ) "#{self.class.controller_path}/#{action_part}" else "#{self.class.controller_path}/(other)" end end
determine the path that is used in the metric name for
the called controller action
determine the path that is used in the metric name for the called controller action
action_name_override