app/views/profiles/show.html.erb in enju_seed-0.2.0.beta.1 vs app/views/profiles/show.html.erb in enju_seed-0.2.0.beta.2

- old
+ new

@@ -26,14 +26,10 @@ <div id="submenu" class="ui-corner-all ui-widget-content"> <% if defined?(EnjuCirculation) %> <%= render 'submenu_checkout', profile: @profile %> <% end %> <ul> - <%- if flash[:query] -%> - <li><%= link_to t('page.back'), profiles_path(query: flash[:query]) -%></li> - <% else %> - <li><%= back_to_index %></li> - <% end %> + <li><%= link_to t('page.back'), :back %></li> <% if user_signed_in? %> <% if policy(@profile).update? %> <li><%= link_to t('page.edit'), edit_profile_path(@profile) -%></li> <% end %> <% if defined?(EnjuCirculation) %>