Commit 69b0876f92b86fbc600da37aa02369b79fc78e80
Exists in
master
and in
1 other branch
Merge pull request #99 from gorenje/show_authentication_token
display the authentication token on the user show page
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 |