From 99babe19f3e97ee670a680363424d70f3c55bab5 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 23 Sep 2018 20:18:34 -0500 Subject: [PATCH] views/static: removed unused templates. --- app/views/static/500.html.erb | 7 ------- app/views/static/name_change.html.erb | 13 ------------- app/views/static/test.html.erb | 1 - config/routes.rb | 2 -- 4 files changed, 23 deletions(-) delete mode 100644 app/views/static/500.html.erb delete mode 100644 app/views/static/name_change.html.erb delete mode 100644 app/views/static/test.html.erb diff --git a/app/views/static/500.html.erb b/app/views/static/500.html.erb deleted file mode 100644 index a6d96744c..000000000 --- a/app/views/static/500.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -

<%= @ex.class.to_s %> exception raised

- diff --git a/app/views/static/name_change.html.erb b/app/views/static/name_change.html.erb deleted file mode 100644 index b8907620c..000000000 --- a/app/views/static/name_change.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -
-

Name Change

- -

I want to change my name. Why can't I?

- -

Moderators rely on user names to track identities. For example, if Bob has a history of leaving nasty comments, the mods will know that Bob has a bad reputation. But if Bob decides to change his name to Carl, and Carl starts leaving nasty comments again, the mods won't realize that Bob and Carl are the same person. They might be lenient with Carl instead of banning him.

- -

For this reason user name changes are not supported.

-
- -<% content_for(:page_title) do %> - Name Change - <%= Danbooru.config.app_name %> -<% end %> diff --git a/app/views/static/test.html.erb b/app/views/static/test.html.erb deleted file mode 100644 index a441b269e..000000000 --- a/app/views/static/test.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= raw common_searches_html(CurrentUser.user) %> diff --git a/config/routes.rb b/config/routes.rb index 4cd757cc1..0821ed676 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -428,8 +428,6 @@ Rails.application.routes.draw do post "/static/accept_terms_of_service" => "static#accept_terms_of_service", :as => "accept_terms_of_service" get "/static/mrtg" => "static#mrtg", :as => "mrtg" get "/static/contact" => "static#contact", :as => "contact" - get "/static/benchmark" => "static#benchmark" - get "/static/name_change" => "static#name_change", :as => "name_change" get "/meta_searches/tags" => "meta_searches#tags", :as => "meta_searches_tags" get "/intro" => redirect("/explore/posts/intro")