[refs #64] fixed forbidden redirection after signin
This commit is contained in:
parent
2c9345b976
commit
87abfb4352
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue