lore-hook-actions
Creates a set of actions for each model using blueprints
Creates a set of actions for each model using blueprints
Blueprints are used to provide models with a default set of actions for interacting with a REST API. If you want to modify the behavior of those actions you can provide your own implementation here.
blueprints: {
create: function() { /*...*/ },
destroy: function() { /*...*/ },
find: function() { /*...*/ },
get: function() { /*...*/ },
update: function() { /*...*/ }
}