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:
parent
6f4d3c1c64
commit
f7a1664399
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue