tap/app/views/shared/_user_info.html.erb

3 lines
159 B
Text
Raw Normal View History

2014-11-10 02:30:42 +01:00
<h1><%= current_user.name %></h1>
<span><%= link_to "view my profile", current_user %></span>
<span><%= pluralize(current_user.orders.count, "order") %></span>