This commit is contained in:
BoHung Chiu 2021-09-30 15:20:31 +08:00
parent a5b664ede3
commit 110fa90581
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@
<div class="controls">
<div class="link_append_target">
<% I18n.with_locale(locale) do %>
<% f.object.urls.each_with_index do |url,i| %>
<% f.object.urls.to_a.each_with_index do |url,i| %>
<%= render :partial => "form_link", :locals=>{:f=>f,:locale=>locale,:url=>url,:url_text=>f.object.get_url_text(i,true)} %>
<% end %>
<% end %>