Commit abbad6246c05941d84122373d678c4d3351a2674
Exists in
master
and in
1 other branch
Merge pull request #890 from jordoh/fix_notification_logo
Use asset pipeline logo in notifications
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/layouts/mailer.html.haml
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | %tbody |
11 | 11 | %tr |
12 | 12 | %td.header |
13 | - = link_to image_tag(URI.join(root_url,"assets/images/logo.png").to_s, :alt => "Errbit"), root_url | |
13 | + = link_to image_tag(URI.join(root_url, ActionController::Base.helpers.asset_path("images/logo.png")).to_s, :alt => "Errbit"), root_url | |
14 | 14 | |
15 | 15 | = yield |
16 | 16 | ... | ... |