views/static: removed unused templates.

This commit is contained in:
evazion 2018-09-23 20:18:34 -05:00
parent d188e5be33
commit 99babe19f3
4 changed files with 0 additions and 23 deletions

View File

@ -1,7 +0,0 @@
<h1><%= @ex.class.to_s %> exception raised</h1>
<ul style="font-family: monospace; font-size: 1.2em; list-style-type: none;">
<li><%= @ex.message %></li>
<%- @ex.backtrace.each do |b| -%>
<li style="list-style-type: none;"><%= b %></li>
<%- end -%>
</ul>

View File

@ -1,13 +0,0 @@
<div style="width: 60em;">
<h1>Name Change</h1>
<h2>I want to change my name. Why can't I?</h2>
<p>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.</p>
<p>For this reason user name changes are not supported.</p>
</div>
<% content_for(:page_title) do %>
Name Change - <%= Danbooru.config.app_name %>
<% end %>

View File

@ -1 +0,0 @@
<%= raw common_searches_html(CurrentUser.user) %>

View File

@ -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")