Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more examples #25

Closed
vvscode opened this issue Aug 18, 2015 · 1 comment
Closed

Add more examples #25

vvscode opened this issue Aug 18, 2015 · 1 comment

Comments

@vvscode
Copy link

vvscode commented Aug 18, 2015

Please add more examples. I'm interested how I can implement custom checking with passing into param

{{#if (can "edit post" post)}} ... {{else}}

How handle passed post? Thx

@Exelord
Copy link
Collaborator

Exelord commented Apr 5, 2018

Inside of ability just use this.get('model') // your post

@Exelord Exelord closed this as completed Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants