Permalink
Browse files

FIX handleAction methods should be protected now

  • Loading branch information...
1 parent 8a70019 commit a193666df101be00265f1444b74ac37ba65b658c Hamish Friedlander committed Feb 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 control/Controller.php
View
2 control/Controller.php
@@ -182,7 +182,7 @@ public function handleRequest(SS_HTTPRequest $request, DataModel $model) {
* 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;
}

0 comments on commit a193666

Please sign in to comment.