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 %>