tweaking facades.
This commit is contained in:
@@ -14,7 +14,14 @@ abstract class Controller extends Resolver {
|
||||
|
||||
/**
|
||||
* Magic Method to handle calls to undefined functions on the controller.
|
||||
*
|
||||
* By default, the 404 response will be returned for an calls to undefined
|
||||
* methods on the controller. However, this method may also be overridden
|
||||
* and used as a pseudo-router by the controller.
|
||||
*/
|
||||
public function __call($method, $parameters) { return $this->response->error('404'); }
|
||||
public function __call($method, $parameters)
|
||||
{
|
||||
return $this->response->error('404');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user