Fix typo in README.md
This commit is contained in:
parent
fdefcf76ca
commit
0c51142ec1
@ -51,7 +51,7 @@ class UserBindingResolver < LiquidDynamicContext::BindingResolver
|
|||||||
# In this method we do the actual work of resolving the bindings to
|
# In this method we do the actual work of resolving the bindings to
|
||||||
# their respective values
|
# their respective values
|
||||||
def resolve(models, context)
|
def resolve(models, context)
|
||||||
user = User.find(model[:current_user_id])
|
user = User.find(models[:current_user_id])
|
||||||
|
|
||||||
context.email = user.email
|
context.email = user.email
|
||||||
context.username = user.username
|
context.username = user.username
|
||||||
|
Loading…
Reference in New Issue
Block a user