forked from e621ng/e621ng
[Misc] PP prep
This commit is contained in:
parent
b6566d1977
commit
c993cd29f0
@ -1,4 +1,8 @@
|
||||
class StaticController < ApplicationController
|
||||
def privacy
|
||||
@page = WikiPage.find_by_title('e621:privacy_policy')
|
||||
end
|
||||
|
||||
def terms_of_service
|
||||
@page = WikiPage.find_by_title('e621:terms_of_service')
|
||||
end
|
||||
|
@ -3,6 +3,7 @@
|
||||
- <%= link_to "Themes / Gestures", theme_path %>
|
||||
– <%= link_to "Rules", terms_of_service_path %>
|
||||
- <%= link_to "Takedowns", takedown_static_path %>
|
||||
- <%= link_to "Privacy", privacy_policy_path %>
|
||||
– <%= link_to "Contact", contact_path %>
|
||||
<% if CurrentUser.user.enable_keyboard_navigation %>
|
||||
– <%= link_to "Keyboard Shortcuts", keyboard_shortcuts_path %>
|
||||
|
@ -101,7 +101,8 @@
|
||||
<%= link_to "Takedown Policy and Process", takedown_static_path, title: "Takedown Information" %>
|
||||
|
|
||||
<%= link_to "Contact Us", contact_path, title: "Contact Us" %> |
|
||||
<%= link_to "Terms of Service", terms_of_service_path, title: "Terms of Service" %>
|
||||
<%= link_to "Terms of Service", terms_of_service_path, title: "Terms of Service" %> |
|
||||
<%= link_to "Privacy", privacy_policy_path, title: "Privacy Policy" %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -439,6 +439,7 @@ Rails.application.routes.draw do
|
||||
|
||||
get "/static/keyboard_shortcuts" => "static#keyboard_shortcuts", :as => "keyboard_shortcuts"
|
||||
get "/static/site_map" => "static#site_map", :as => "site_map"
|
||||
get "/static/privacy" => "static#privacy", as: "privacy_policy"
|
||||
get "/static/takedown" => "static#takedown", as: "takedown_static"
|
||||
get "/static/terms_of_service" => "static#terms_of_service", :as => "terms_of_service"
|
||||
post "/static/accept_terms_of_service" => "static#accept_terms_of_service", :as => "accept_terms_of_service"
|
||||
@ -446,7 +447,7 @@ Rails.application.routes.draw do
|
||||
get "/static/discord" => "static#discord", as: "discord_get"
|
||||
post "/static/discord" => "static#discord", as: "discord_post"
|
||||
get "/static/toggle_mobile_mode" => "static#disable_mobile_mode", as: "disable_mobile_mode"
|
||||
get "static/theme" => "static#theme", as: "theme"
|
||||
get "/static/theme" => "static#theme", as: "theme"
|
||||
get "/meta_searches/tags" => "meta_searches#tags", :as => "meta_searches_tags"
|
||||
|
||||
root :to => "static#home"
|
||||
|
Loading…
Reference in New Issue
Block a user