TaggableMixin Class
Controller mixin that implements basic tagging functionality. Uses the model defined in the model hook.
Item Index
Methods
Methods
addATag
(
-
model
-
tag
Appends a tag to the current array of tags on the resource. Copies current list of tags, appends new tag to copy, and then sets tags on the resource as the modified copy.
removeATag
(
-
model
-
tag
Removes a tag from the current array of tags on the resource.