Skip to content

Commit

Permalink
Merge pull request #164 from tosdr/fix/mailto
Browse files Browse the repository at this point in the history
fix mailto
  • Loading branch information
piks3l authored Nov 23, 2017
2 parents aac230b + 1d8ca59 commit 3ddf217
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ GEM
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
actionview-encoded_mail_to (1.0.9)
rails
activejob (5.1.4)
activesupport (= 5.1.4)
globalid (>= 0.3.6)
Expand Down Expand Up @@ -263,6 +265,7 @@ PLATFORMS
ruby

DEPENDENCIES
actionview-encoded_mail_to
activeadmin!
autoprefixer-rails
bootstrap-sass
Expand Down
3 changes: 2 additions & 1 deletion app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<%= link_to "API", "https://github.com/tosdr/phoenix/wiki/API" %>
</div>
<div class="footer-links hidden-xs">
<%= link_to "Contact", "mailto:team a tosdr org" %>
<%= link_to "About", "/about" %>
<%= link_to "Contact", "/about#contact" %>
<%= link_to "Blog", "https://blog.tosdr.org" %>
<%= link_to "Donate", "https://opencollective.com/tosdr" %>
<%= link_to "Terms of Service", "/about#tos" %>
Expand Down
2 changes: 1 addition & 1 deletion public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2>It's looks like you're lost...</h2>
<a href="/" class="btn">Back Home</a>
</div>
<p>
<a href="#">Contact us</a>
<a href="/about#contact">Contact us</a>
</p>
</body>
</html>
2 changes: 1 addition & 1 deletion public/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h2>Something went wrong...</h2>
<a href="/" class="btn">Back Home</a>
</div>
<p>
<a href="#">Contact us</a>
<a href="/about#contac">Contact us</a>
</p>
</body>
</html>
Expand Down

0 comments on commit 3ddf217

Please sign in to comment.