Skip to content

Commit

Permalink
Apparently Rubocop doesn't like our comments now
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Apr 5, 2018
1 parent 3c3d870 commit 598c42c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ class Application < Rails::Application
end
end

#config.after_initialize do
# config.after_initialize do
# # Only authorize MiniProfiler if none of the blacklisted pp modes are specified.
# Rack::MiniProfiler.config.authorization_mode = :allow_all
# Rack::MiniProfiler.config.pre_authorize_cb = lambda { |env|
# blacklisted_modes = [/pp=env/, /pp=profile-gc/, /pp=profile-memory/, /pp=analyze-memory/]
#
# blacklisted_modes.none? do |item|
# item =~ env['QUERY_STRING']
# end
# }
# end
#
# blacklisted_modes.none? do |item|
# item =~ env['QUERY_STRING']
# end
# }
# end
end
end

0 comments on commit 598c42c

Please sign in to comment.