From f7a1664399f440f6a856f50bf7b9df7e6da5366c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 10 Jan 2014 07:46:23 +0000 Subject: [PATCH] cleanup syntax of Relation#all at app/views/wiki/rename.html.erb git-svn-id: http://svn.redmine.org/redmine/trunk@12591 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/rename.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/wiki/rename.html.erb b/app/views/wiki/rename.html.erb index 86385a94b..c1a8f33ac 100644 --- a/app/views/wiki/rename.html.erb +++ b/app/views/wiki/rename.html.erb @@ -13,7 +13,7 @@

<%= f.select :parent_id, content_tag('option', '', :value => '') + wiki_page_options_for_select( - @wiki.pages.all(:include => :parent) - @page.self_and_descendants, + @wiki.pages.includes(:parent).all - @page.self_and_descendants, @page.parent), :label => :field_parent_title %>