Skip to content

Commit

Permalink
Fixes #11828 - Use mail_to function to create email link
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomizadok authored and lzap committed Nov 4, 2015
1 parent ce59b50 commit 9450856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/about/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
</div>
<div class="stats-well" id="copyright-div">
<h4><%= _("System Information") %> </h4>
<p id="copyright-p"><%= (_("Version %{version} © 2009-%{year} Paul Kelly and %{author}") % {:version => SETTINGS[:version], :year=>DateTime.now.year, :author=>link_to("Ohad Levy", "mailto:ohadlevy@gmail.com" )}).html_safe %></p>
<p id="copyright-p"><%= (_("Version %{version} © 2009-%{year} Paul Kelly and %{author}") % {:version => SETTINGS[:version], :year=>DateTime.now.year, :author=>mail_to("ohadlevy@gmail.com", "Ohad Levy" )}).html_safe %></p>
</div>
</div>
</div>
Expand Down

0 comments on commit 9450856

Please sign in to comment.