Skip to content

Commit c42b636

Browse files
sauloperezenricostano
authored andcommitted
Revert "Do not show clock in same user profile"
This reverts commit dbde5c5.
1 parent 5276ef8 commit c42b636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/users/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<% end %>
3737
</li>
3838
<% end %>
39-
<% if @user != current_user %>
39+
<% if admin? || @user != current_user %>
4040
<li>
4141
<%= link_to give_time_user_path(@user) do %>
4242
<%= glyph :time %>

0 commit comments

Comments
 (0)