Skip to content

Commit

Permalink
Fixed page locale-flag edit link.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jun 11, 2012
1 parent a7a69b2 commit 6cf254d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/app/views/refinery/admin/pages/_page.html.erb
Expand Up @@ -13,7 +13,7 @@
<span class='locales'>
<% page.translations.each do |translation| %>
<%= link_to refinery_icon_tag("flags/#{translation.locale}.png", :size => '16x11'),
refinery.edit_admin_page_path(page, :switch_locale => translation.locale),
refinery.edit_admin_page_path(page.nested_url, :switch_locale => translation.locale),
:class => 'locale' if translation.title.present? %>
<% end %>
</span>
Expand Down

0 comments on commit 6cf254d

Please sign in to comment.