summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/rename.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/wiki/rename.html.erb')
-rw-r--r--app/views/wiki/rename.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/rename.html.erb b/app/views/wiki/rename.html.erb
index c1a8f33ac..85319520d 100644
--- a/app/views/wiki/rename.html.erb
+++ b/app/views/wiki/rename.html.erb
@@ -13,7 +13,7 @@
<p><%= f.select :parent_id,
content_tag('option', '', :value => '') +
wiki_page_options_for_select(
- @wiki.pages.includes(:parent).all - @page.self_and_descendants,
+ @wiki.pages.includes(:parent).to_a - @page.self_and_descendants,
@page.parent),
:label => :field_parent_title %></p>
</div>