# File lib/new_relic/agent/instrumentation/rails3/action_controller.rb, line 50 def render_type(file_path) file = File.basename(file_path) if file.starts_with?('_') return 'Partial' else return 'Rendering' end end