Sha256: c8b038b742b7089d68c337ab4760031d8d44d55d88376814380336a6ebbfc502
Contents?: true
Size: 520 Bytes
Versions: 15
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true require_dependency 'rails_mini_profiler/application_controller' module RailsMiniProfiler class FlamegraphsController < ApplicationController layout 'rails_mini_profiler/flamegraph' before_action :set_flamegraph, only: %i[show] def show; end private def set_flamegraph @flamegraph = Flamegraph.find_by!(rmp_profiled_request_id: params[:id]).json_data end def configuration @configuration ||= RailsMiniProfiler.configuration end end end
Version data entries
15 entries across 15 versions & 1 rubygems