Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 8 lines (7 sloc) 0.294 kb
1 2 3 4 5 6 7 8
if defined?(ActionController::Base) && !ActionController::Base.include?(HoptoadNotifier::Catcher)
  ActionController::Base.send(:include, HoptoadNotifier::Catcher)
end

HoptoadNotifier.configure(true) do |config|
  config.environment_name = RAILS_ENV
  config.project_root = RAILS_ROOT
end
Something went wrong with that request. Please try again.