Sha256: 5eb3dc0f5994e9205bec0200188677c827763c5b0bc92ec22013d654232e44c7

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.5.0 templates/rack_mini_profiler.rb
kazan-0.4.0 templates/rack_mini_profiler.rb
kazan-0.3.1 templates/rack_mini_profiler.rb
kazan-0.3.0 templates/rack_mini_profiler.rb
kazan-0.2.4 templates/rack_mini_profiler.rb
kazan-0.2.3 templates/rack_mini_profiler.rb