add sep contact page

This commit is contained in:
albert
2012-09-19 17:16:37 -04:00
parent 3a11b0e6ed
commit 72cc2ee1ef
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
<footer id="page-footer">
Running Danbooru v<%= Danbooru.config.version %>. <%= mail_to Danbooru.config.contact_email, "Contact", :encode => :hex %>.
</footer>
Running Danbooru v<%= Danbooru.config.version %> &mdash; <%= link_to "Contact", contact_path %>
</footer>

View File

@@ -0,0 +1,5 @@
<h1>Contact</h1>
<h2>Questions &amp; Comments</h2>
<p>You can reach the administrator of this site at <%= mail_to Danbooru.config.contact_email, "Contact", :encode => :hex %>.</p>

View File

@@ -252,6 +252,7 @@ Danbooru::Application.routes.draw do
match "/static/site_map" => "static#site_map", :as => "site_map"
match "/static/terms_of_service" => "static#terms_of_service", :as => "terms_of_service"
match "/static/mrtg" => "static#mrtg", :as => "mrtg"
match "/static/contact" => "static#contact", :as => "contact"
root :to => "posts#index"
end