mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX handleAction methods should be protected now
This commit is contained in:
parent
8a70019e78
commit
a193666df1
@ -182,7 +182,7 @@ class Controller extends RequestHandler implements TemplateGlobalProvider {
|
||||
* Controller's default action handler. It will call the method named in $Action, if that method exists.
|
||||
* If $Action isn't given, it will use "index" as a default.
|
||||
*/
|
||||
public function handleAction($request, $action) {
|
||||
protected function handleAction($request, $action) {
|
||||
foreach($request->latestParams() as $k => $v) {
|
||||
if($v || !isset($this->urlParams[$k])) $this->urlParams[$k] = $v;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user