Commit 0f5b55a354e648e9dfe84a3de5082ba4417cb1a9
1 parent
3851c29b
Exists in
master
and in
1 other branch
display the authentication token on the user show page
On branch: master
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/views/users/show.html.haml
@@ -13,6 +13,9 @@ | @@ -13,6 +13,9 @@ | ||
13 | %th Username | 13 | %th Username |
14 | %td.main= @user.username | 14 | %td.main= @user.username |
15 | %tr | 15 | %tr |
16 | + %th Token | ||
17 | + %td= @user.authentication_token | ||
18 | + %tr | ||
16 | %th Admin? | 19 | %th Admin? |
17 | %td= @user.admin? ? 'Y' : 'N' | 20 | %td= @user.admin? ? 'Y' : 'N' |
18 | %tr | 21 | %tr |