tap/app/views/shared/_user_info.html.erb
2014-11-10 02:30:42 +01:00

3 lines
No EOL
159 B
Text

<h1><%= current_user.name %></h1>
<span><%= link_to "view my profile", current_user %></span>
<span><%= pluralize(current_user.orders.count, "order") %></span>