use new hash syntax + only provide required params

pull/2813/head
Jan Sandbrink 10 years ago
parent 5eabe079df
commit 8d6589a62a
  1. 2
      app/views/my/page.html.erb

@ -28,7 +28,7 @@ See doc/COPYRIGHT.rdoc for more details.
++#%>
<% breadcrumb_paths(l(:label_my_page)) %>
<% content_for :action_menu_specific do %>
<%= link_to l(:label_personalize_page), { :action => 'page_layout', :accesskey => accesskey(:edit) }, "accesskey" => accesskey(:edit) %>
<%= link_to l(:label_personalize_page), { action: 'page_layout' }, accesskey: accesskey(:edit) %>
<% end %>
<h2><%=l(:label_my_page)%></h2>
<%= render :partial => 'layouts/action_menu_specific' %>

Loading…
Cancel
Save