{{#can action="post-create" }}
// add html
{{/can }}
This helper function read the action, if this action exists in an global object, it show the html code, if not, it doest’ show.
Any simple snippet can help?
{{#can action="post-create" }}
// add html
{{/can }}
This helper function read the action, if this action exists in an global object, it show the html code, if not, it doest’ show.
Any simple snippet can help?