summaryrefslogtreecommitdiff
path: root/app/controllers/users/terms_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/users/terms_controller.rb')
-rw-r--r--app/controllers/users/terms_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/users/terms_controller.rb b/app/controllers/users/terms_controller.rb
index ab685b9106e..f7c6d1d59db 100644
--- a/app/controllers/users/terms_controller.rb
+++ b/app/controllers/users/terms_controller.rb
@@ -13,6 +13,10 @@ module Users
def index
@redirect = redirect_path
+
+ if @term.accepted_by_user?(current_user)
+ flash.now[:notice] = "You have already accepted the Terms of Service as #{current_user.to_reference}"
+ end
end
def accept