diff options
Diffstat (limited to 'app/controllers/concerns')
-rw-r--r-- | app/controllers/concerns/with_performance_bar.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/with_performance_bar.rb b/app/controllers/concerns/with_performance_bar.rb index ed253042701..d08f6e17f88 100644 --- a/app/controllers/concerns/with_performance_bar.rb +++ b/app/controllers/concerns/with_performance_bar.rb @@ -3,6 +3,8 @@ module WithPerformanceBar included do include Peek::Rblineprof::CustomControllerHelpers + alias_method :performance_bar_enabled?, :peek_enabled? + helper_method :performance_bar_enabled? end def peek_enabled? |