cleanup syntax of Relation#all at app/views/wiki/edit.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12587 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c1c1b548d0
commit
5d535f8996
|
@ -22,7 +22,8 @@
|
|||
<label><%= l(:field_parent_title) %></label>
|
||||
<%= fp.select :parent_id,
|
||||
content_tag('option', '', :value => '') +
|
||||
wiki_page_options_for_select(@wiki.pages.all(:include => :parent) -
|
||||
wiki_page_options_for_select(
|
||||
@wiki.pages.includes(:parent).all -
|
||||
@page.self_and_descendants, @page.parent) %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue