fix default branch

This commit is contained in:
Dmitriy Zaporozhets 2011-12-12 23:17:28 +02:00
parent 04a908f6a5
commit 8426846d6d
3 changed files with 2 additions and 4 deletions

View file

@ -9,7 +9,6 @@ class ProjectsController < ApplicationController
before_filter :authorize_read_project!, :except => [:index, :new, :create]
before_filter :authorize_admin_project!, :only => [:edit, :update, :destroy]
before_filter :require_non_empty_project, :only => [:blob, :tree, :graph]
before_filter :load_refs, :only => :tree # load @branch, @tag & @ref
def index
source = current_user.projects