Skip to content

Commit

Permalink
Merge pull request Katello#33 from ehelms/master
Browse files Browse the repository at this point in the history
Adds logical-insight profiling option
  • Loading branch information
Mike McCune committed Apr 25, 2012
2 parents f5addaf + 5094121 commit eaa8b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Gemfile
Expand Up @@ -83,4 +83,5 @@ end
group :development do
# profiler
gem 'newrelic_rpm'
gem 'logical-insight'
end
5 changes: 5 additions & 0 deletions src/config/initializers/logical_insight.rb
@@ -0,0 +1,5 @@
require "logical-insight"

if AppConfig.logical_insight
Rails.application.config.middleware.use "Insight::App", :secret_key => false, :ip_masks => false
end

0 comments on commit eaa8b68

Please sign in to comment.