fix default branch
This commit is contained in:
parent
04a908f6a5
commit
8426846d6d
3 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue