private function getActionFromParam($action)
    {
        $action = str_replace("-", "_", $action);
        if (substr($action, -1) === "/") {
            $action = substr($action, 0, -1);
        }

        return lcfirst(Inflector::camelize($action));
    }
private function getActionFromParam($action)
    {
        $action = str_replace("-", "_", $action);
        if (substr($action, -1) === "/") {
            $action = substr($action, 0, -1);
        }

        return lcfirst(Inflector::camelize($action));
    }
private function getActionFromParam ( $ action ) { $ action = str_replace ( "-" , "_" , $ action ) ; if ( substr ( $ action , - 1 ) === "/" ) { $ action = substr ( $ action , 0 , - 1 ) ; } return lcfirst ( Inflector :: camelize ( $ action ) ) ; }
Formats the action based on the router's match
@param  string $action
@return string
Formats the action based on the router s match