This commit is contained in:
albert
2013-04-09 18:15:04 -04:00
parent 0d864e65d2
commit c5bf7b6c47
5 changed files with 13 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
class StaticController < ApplicationController
def terms_of_service
end
def accept_terms_of_service
cookies.permanent[:accepted_tos] = "1"
redirect_to(params[:url] || posts_path)
end
def error
end