Show actions to moderators on banned profiles
This commit is contained in:
parent
1914c56b05
commit
04d3e050ab
|
@ -37,5 +37,5 @@
|
|||
.profile__location
|
||||
%i.fa.fa-fw.fa-location-arrow
|
||||
= user.profile.location
|
||||
- unless user.banned?
|
||||
- unless user.banned? && !current_user&.mod?
|
||||
= render "user/actions", user: user, type: :follower
|
||||
|
|
Loading…
Reference in New Issue