Created
July 16, 2012 15:12
-
-
Save aaronjensen/3123260 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unless Rails.env.test? | |
Rack::MiniProfiler.config.position = 'right' | |
Rack::MiniProfiler.config.pre_authorize_cb = lambda {|env| true } | |
Rack::MiniProfiler.config.authorization_mode = :whitelist unless Rails.env.development? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment