Controller
Module: parch
Base controller
Table of Contents
- Methods
- Properties
Constructor
Methods
Returns the name of the model that is associated with this controller. If options.model is passed to controller it will take precedence, otherwise the controller will attempt to lookup a model matching the controller's name
Parameters:
-
model
Stringname of the model to use
Returns:
String:
modelName