mini profiler只在dev下生效
This commit is contained in:
parent
dcfb9d589e
commit
9b155c9573
|
@ -1,2 +1,4 @@
|
||||||
Rack::MiniProfiler.config.position = 'right'
|
if Rails.env.development?
|
||||||
Rack::MiniProfiler.config.start_hidden = true
|
Rack::MiniProfiler.config.position = 'right'
|
||||||
|
Rack::MiniProfiler.config.start_hidden = true
|
||||||
|
end
|
Loading…
Reference in New Issue