[refs #64] fixed forbidden redirection after signin

This commit is contained in:
Alexander Machehin 2012-02-03 21:28:19 +06:00
parent 2c9345b976
commit 87abfb4352
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ require 'cgi'
class WikiController < ApplicationController class WikiController < ApplicationController
WIKI_OPTIONS = {} WIKI_OPTIONS = {}
before_filter :authenticate_user!
load_resource :project load_resource :project
before_filter :authorize_read_actions, :only => [:index, :show, :git, :compare, :compare_wiki, :history, :wiki_history, :search, :pages] before_filter :authorize_read_actions, :only => [:index, :show, :git, :compare, :compare_wiki, :history, :wiki_history, :search, :pages]