add sep contact page
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
<footer id="page-footer">
|
<footer id="page-footer">
|
||||||
Running Danbooru v<%= Danbooru.config.version %>. <%= mail_to Danbooru.config.contact_email, "Contact", :encode => :hex %>.
|
Running Danbooru v<%= Danbooru.config.version %> — <%= link_to "Contact", contact_path %>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
5
app/views/static/contact.html.erb
Normal file
5
app/views/static/contact.html.erb
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<h1>Contact</h1>
|
||||||
|
|
||||||
|
<h2>Questions & Comments</h2>
|
||||||
|
|
||||||
|
<p>You can reach the administrator of this site at <%= mail_to Danbooru.config.contact_email, "Contact", :encode => :hex %>.</p>
|
||||||
@@ -252,6 +252,7 @@ Danbooru::Application.routes.draw do
|
|||||||
match "/static/site_map" => "static#site_map", :as => "site_map"
|
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/terms_of_service" => "static#terms_of_service", :as => "terms_of_service"
|
||||||
match "/static/mrtg" => "static#mrtg", :as => "mrtg"
|
match "/static/mrtg" => "static#mrtg", :as => "mrtg"
|
||||||
|
match "/static/contact" => "static#contact", :as => "contact"
|
||||||
|
|
||||||
root :to => "posts#index"
|
root :to => "posts#index"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user