Sha256: 881fa61175498f5dcafc27fa52922f38f26f1a9ba5b1fd7b4c7f00e8753aa612

Contents?: true

Size: 249 Bytes

Versions: 6

Compression:

Stored size: 249 Bytes

Contents

if ENV.fetch("RACK_MINI_PROFILER", 0).to_i > 0
  # Before uncomment read https://github.com/MiniProfiler/rack-mini-profiler#rails-and-manual-initialization
  require 'rack_mini_profiler'

  Rack::MiniProfilerRails.initialize!(Rails.application)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kazan-0.2.2 templates/rack_mini_profiler.rb
kazan-0.2.1 templates/rack_mini_profiler.rb
kazan-0.2.0 templates/rack_mini_profiler.rb
kazan-0.1.2 templates/rack_mini_profiler.rb
kazan-0.1.1 templates/rack_mini_profiler.rb
kazan-0.1.0 templates/rack_mini_profiler.rb