This commit is contained in:
gitlabhq 2011-10-15 18:51:58 +03:00
parent 4e063deaa9
commit a9d224d36d
3 changed files with 8 additions and 1 deletions

View file

@ -6,6 +6,7 @@ class CommitsController < ApplicationController
# Authorize
before_filter :add_project_abilities
before_filter :authorize_read_project!
before_filter :require_non_empty_project
def index
load_refs # load @branch, @tag & @ref