summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-26 20:10:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-26 20:10:32 +0000
commit744d8669260b63a94f5cd41c6b79b8396dd47df3 (patch)
tree2a09615cf275853429925860143fbc9e700780f5 /app/controllers
parentaa87a73e413070799f450f496ad7a9d57a84a5a0 (diff)
downloadredmine-744d8669260b63a94f5cd41c6b79b8396dd47df3.tar.gz
redmine-744d8669260b63a94f5cd41c6b79b8396dd47df3.zip
Moved ProjectsController#list to ProjectsController#index.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1464 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 07b29fa25..320def41b 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -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