Improve Model & Controller API
Closed this issue · 3 comments
hexus commented
Remove redundant methods. Implement attributes specifications.
Possibly make it easier to generate the current controller's URL:
return $this->request->route->url();
hexus commented
While base controllers aren't necessary with the power of the service container, it's still convenient to have one for methods like this.
hexus commented
This is sorted now. Model has had quite an overhaul and the controller helper method has been implemented.