From 2a3fb08a896dcae29ea497ecd5543d6f8452bc74 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Wed, 13 Feb 2013 15:42:24 +0400 Subject: [PATCH] #907: "skip_before_filter authenticate_user!" for #tags and #branche --- app/controllers/projects/git/base_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/projects/git/base_controller.rb b/app/controllers/projects/git/base_controller.rb index f8976c2d8..877162123 100644 --- a/app/controllers/projects/git/base_controller.rb +++ b/app/controllers/projects/git/base_controller.rb @@ -1,7 +1,7 @@ # -*- encoding : utf-8 -*- class Projects::Git::BaseController < Projects::BaseController before_filter :authenticate_user! - skip_before_filter :authenticate_user!, :only => [:show, :index, :blame, :raw, :archive, :diff] if APP_CONFIG['anonymous_access'] + skip_before_filter :authenticate_user!, :only => [:show, :index, :blame, :raw, :archive, :diff, :tags, :branches] if APP_CONFIG['anonymous_access'] load_and_authorize_resource :project before_filter :set_treeish_and_path