File: railtie.rb

package info (click to toggle)
ruby-peek-performance-bar 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 128 kB
  • sloc: javascript: 129; ruby: 108; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
require 'peek/views/performance_bar/process_utilization'

module Peek
  module PerformanceBar
    class Railtie < ::Rails::Engine
      initializer 'peek.performance_bar.mount_process_utilization' do |app|
        app.config.middleware.use Peek::Views::PerformanceBar::ProcessUtilization
      end
    end
  end
end