mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: Move mini profiler badge to the right (#17468)
In the era where we have left aligned sidebar, the mini profiler badge gets in the way
This commit is contained in:

committed by
GitHub

parent
3a3628e9b0
commit
b4b87454f2
@ -72,7 +72,6 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
|
||||
# does not get clobbered.
|
||||
Rack::MiniProfiler.config.cookie_path = Discourse.base_path.presence || "/"
|
||||
|
||||
Rack::MiniProfiler.config.position = 'left'
|
||||
Rack::MiniProfiler.config.backtrace_ignores ||= []
|
||||
Rack::MiniProfiler.config.backtrace_ignores << /lib\/rack\/message_bus.rb/
|
||||
Rack::MiniProfiler.config.backtrace_ignores << /config\/initializers\/silence_logger/
|
||||
|
Reference in New Issue
Block a user