Module: CruftTracker::ApplicationHelper
- Defined in:
- app/helpers/cruft_tracker/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#record_cruft_tracker_view_render(metadata = nil) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'app/helpers/cruft_tracker/application_helper.rb', line 3 def record_cruft_tracker_view_render( = nil) CruftTracker::RecordViewRender.run!( view: cruft_tracker_view, controller: controller.class.to_s, endpoint: action_name, route: route_path, http_method: request.method, render_stack: render_stack, metadata: ) rescue StandardError # Swallow errors end |