Moved ProjectsController#list to ProjectsController#index.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1464 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-05-26 20:10:32 +00:00
parent aa87a73e41
commit 744d866926
3 changed files with 2 additions and 13 deletions
+1 -6
View File
@@ -44,13 +44,8 @@ class ProjectsController < ApplicationController
include RepositoriesHelper
include ProjectsHelper
def index
list
render :action => 'list' unless request.xhr?
end
# Lists visible projects
def list
def index
projects = Project.find :all,
:conditions => Project.visible_by(User.current),
:include => :parent