X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dfedf85b6ca076c4c95f10ea3d9649d1a4de6818..a13b40ace9c98dd2271ef05811b448e28af1751a:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 011226109..1332ab6e2 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -111,36 +111,36 @@ <% end %> - <% if can?(:set_status, User) || can?(:delete, User) %> + <% if can?(:set_status, User) || can?(:destroy, User) %> @@ -195,7 +195,7 @@ :icon => image_path("marker-red.png"), :description => render(:partial => "popup", :object => current_user, :locals => { :type => "your location" }) } %> - <%= content_tag "div", "", :id => "map", :class => "content_map", :data => { :user => user_data } %> + <%= tag.div "", :id => "map", :class => "content_map", :data => { :user => user_data } %> <% end %> <% friends = @user.friends %>