[openstreetmap/openstreetmap-website] Dressed up notification mails (#1401)

Hervé Saint-Amand notifications at github.com
Mon Jan 16 22:55:31 UTC 2017


saintamh commented on this pull request.



>        mail :to => recipient.email, :subject => subject
     end
   end
 
   private
 
+  def set_shared_template_vars
+    @root_url = root_url(:host => SERVER_URL)
+    attach_project_logo

Good point, I've made `attach_project_logo` a `before_action` filter. `set_shared_template_vars` is still there and still sets `@root_url`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170116/e6e8a7d2/attachment.html>


More information about the rails-dev mailing list