app/views/alchemy/admin/pages/update.js.erb in alchemy_cms-3.0.0.rc5 vs app/views/alchemy/admin/pages/update.js.erb in alchemy_cms-3.0.0.rc6
- old
+ new
@@ -24,10 +24,10 @@
<% end -%>
<% if @page.restricted? -%>
$('.page_status:nth-child(3)', $page).addClass('restricted', 'not_restricted').removeClass('not_restricted');
<% elsif @page.redirects_to_external? -%>
- $('span.redirect_url', $page).html('» <%= _t("Redirects to") %>: <%= h @page.urlname %>');
+ $('span.redirect_url', $page).html('» <%= _t("Redirects to") %>: <%= h @page.external_urlname %>');
<% else -%>
$('.page_status:nth-child(3)', $page).addClass('not_restricted').removeClass('restricted');
<% end -%>
<% end -%>