Skip to content

Commit

Permalink
Tell NewRelic RPM to ignore admin site
Browse files Browse the repository at this point in the history
  • Loading branch information
Heigh Tech LLC authored and bbenezech committed May 18, 2011
1 parent 683e5db commit 33917af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/rails_admin/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

module RailsAdmin
class ApplicationController < ::ApplicationController
newrelic_ignore if defined?(NewRelic)

before_filter :_authenticate!
before_filter :_authorize!
before_filter :set_plugin_name
Expand Down

0 comments on commit 33917af

Please sign in to comment.