Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
add environment_name and project_root back to rails 3 railtie
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed May 28, 2010
1 parent c708bff commit abe0612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hoptoad_notifier/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class Railtie < Rails::Railtie
config.after_initialize do
HoptoadNotifier.configure(true) do |config|
config.logger = Rails.logger
# config.environment_name = Rails.env
# config.project_root = Rails.root
config.environment_name = Rails.env
config.project_root = Rails.root
config.framework = "Rails: #{::Rails::VERSION::STRING}"
end
end
Expand Down

0 comments on commit abe0612

Please sign in to comment.