Browse Source

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
tags/2.5.0
Toshi MARUYAMA 10 years ago
parent
commit
5d535f8996
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      app/views/wiki/edit.html.erb

+ 2
- 1
app/views/wiki/edit.html.erb View File

@@ -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…
Cancel
Save