summaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-30 20:10:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-30 20:10:56 +0000
commitdaab32923d85c86723ebdf23990f82f424cface2 (patch)
tree236a7cf137fe012db325e679601248dfc3be8e0c /app/helpers/application_helper.rb
parent3b7d651bbbeae5883a1f6d346507793672cba8c9 (diff)
downloadredmine-daab32923d85c86723ebdf23990f82f424cface2.tar.gz
redmine-daab32923d85c86723ebdf23990f82f424cface2.zip
Adds pagination to admin project list.
git-svn-id: http://svn.redmine.org/redmine/trunk@15755 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 1b3273838..4a421b1b8 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -371,8 +371,8 @@ module ApplicationHelper
# Yields the given block for each project with its level in the tree
#
# Wrapper for Project#project_tree
- def project_tree(projects, &block)
- Project.project_tree(projects, &block)
+ def project_tree(projects, options={}, &block)
+ Project.project_tree(projects, options, &block)
end
def principals_check_box_tags(name, principals)