mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
don't use user
This commit is contained in:
parent
ac3c6d3842
commit
19c9bcb3c0
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@
|
|||
= cat
|
||||
|
||||
/ Will create block
|
||||
= if @user.commission.will_create not in [nil, ""] do
|
||||
= if @commission.will_create not in [nil, ""] do
|
||||
.block
|
||||
.block__header
|
||||
span.block__header__title Will draw/create
|
||||
|
@ -50,7 +50,7 @@
|
|||
== @rendered.will_create
|
||||
|
||||
/ Will not create block
|
||||
= if @user.commission.will_not_create not in [nil, ""] do
|
||||
= if @commission.will_not_create not in [nil, ""] do
|
||||
.block
|
||||
.block__header
|
||||
span.block__header__title Will not draw/create
|
||||
|
|
Loading…
Reference in a new issue