Commit 5c1ac8fa341e3ac384c9d6533307a4aeba62db3c
1 parent
d83f4709
Exists in
master
and in
1 other branch
Fix default_url_options in IssueTracker model
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/issue_tracker.rb
| ... | ... | @@ -3,7 +3,7 @@ class IssueTracker |
| 3 | 3 | include Mongoid::Timestamps |
| 4 | 4 | include HashHelper |
| 5 | 5 | include Rails.application.routes.url_helpers |
| 6 | - default_url_options[:host] = Errbit::Application.config.action_mailer.default_url_options[:host] | |
| 6 | + default_url_options[:host] = ActionMailer::Base.default_url_options[:host] | |
| 7 | 7 | |
| 8 | 8 | embedded_in :app, :inverse_of => :issue_tracker |
| 9 | 9 | ... | ... |