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
This commit is contained in:
Toshi MARUYAMA 2014-01-10 07:46:23 +00:00
parent 6f4d3c1c64
commit f7a1664399
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<p><%= 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 %></p>
</div>