Add users controller
This commit is contained in:
9
app/views/users/show.html.slim
Normal file
9
app/views/users/show.html.slim
Normal file
@@ -0,0 +1,9 @@
|
||||
.container
|
||||
h1 = @user.username
|
||||
|
||||
p
|
||||
|> Email:
|
||||
= @user.email_address
|
||||
|
||||
a.btn.btn-primary.mt-4 href=edit_user_path(@user)
|
||||
| Edit
|
||||
Reference in New Issue
Block a user