Remove unused terms of service banner.

No longer used, inadvertently hidden in a6233f297e.
This commit is contained in:
evazion
2019-08-14 01:46:44 -05:00
parent 8d07ad7390
commit 90fa67d4c1
7 changed files with 1 additions and 25 deletions

View File

@@ -1,12 +1,6 @@
class StaticController < ApplicationController
def terms_of_service
end
def accept_terms_of_service
cookies.permanent[:accepted_tos] = "1"
url = params[:url] if params[:url] && params[:url].start_with?("/")
redirect_to(url || posts_path)
end
def not_found
render plain: "not found", status: :not_found