diff --git a/app/views/static/terms_of_service.html.erb b/app/views/static/terms_of_service.html.erb index f3eded118..aaaf18ca3 100644 --- a/app/views/static/terms_of_service.html.erb +++ b/app/views/static/terms_of_service.html.erb @@ -1,70 +1,264 @@ <% page_title "Terms of Service" %> +<% @app_name = Danbooru.config.canonical_app_name %> +<% @canonical_url = Danbooru.config.canonical_url %> +<% @contact_email = Danbooru.config.contact_email %> +
-

Rules

- -

Please read the following before using the site:

- -
diff --git a/config/routes.rb b/config/routes.rb index 63867d258..b9ddd2bc5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -368,12 +368,13 @@ Rails.application.routes.draw do get "/sitemap" => "static#sitemap" get "/opensearch" => "static#opensearch", :as => "opensearch" get "/privacy" => "static#privacy_policy", :as => "privacy_policy" + get "/terms_of_service" => "static#terms_of_service", :as => "terms_of_service" get "/static/keyboard_shortcuts" => "static#keyboard_shortcuts", :as => "keyboard_shortcuts" get "/static/bookmarklet" => "static#bookmarklet", :as => "bookmarklet" get "/static/site_map" => "static#site_map", :as => "site_map" - get "/static/terms_of_service" => "static#terms_of_service", :as => "terms_of_service" get "/static/contact" => "static#contact", :as => "contact" get "/static/dtext_help" => "static#dtext_help", :as => "dtext_help" + get "/static/terms_of_service" => redirect { "/terms_of_service" } get "/mock/recommender/recommend/:user_id" => "mock_services#recommender_recommend", as: "mock_recommender_recommend" get "/mock/recommender/similiar/:post_id" => "mock_services#recommender_similar", as: "mock_recommender_similar"