diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb index 65b4077d0..a79e713b8 100644 --- a/app/controllers/wiki_controller.rb +++ b/app/controllers/wiki_controller.rb @@ -5,6 +5,7 @@ require 'cgi' class WikiController < ApplicationController WIKI_OPTIONS = {} + before_filter :authenticate_user! load_resource :project before_filter :authorize_read_actions, :only => [:index, :show, :git, :compare, :compare_wiki, :history, :wiki_history, :search, :pages]