diff --git a/app/controllers/public/content_viewer_controller.rb b/app/controllers/public/content_viewer_controller.rb index f5bccbb..4334747 100644 --- a/app/controllers/public/content_viewer_controller.rb +++ b/app/controllers/public/content_viewer_controller.rb @@ -33,6 +33,7 @@ class ContentViewerController < ApplicationController process_forum_terms_of_use(user, params[:terms_accepted]) elsif is_a_forum_topic?(@page) redirect_to @page.parent.url unless @page.parent.agrees_with_terms?(user) + return end # At this point the page will be showed -- libgit2 0.21.2