Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.0.2
-
Fix Version/s: None
-
Component/s: View technologies
-
Labels:None
-
Environment:All
Description
When rendering a view, if no model is explicitly passed, the view will use the controller's properties as a model.
The same behavior should happen with a template when using the g.render() method on a controller.
This doesn't really make sense if the view is using a custom model, then way would the template use the controller properties?