Helper\LoginFilter::preRoute PHP Method

preRoute() public method

public preRoute ( &$path )
    public function preRoute(&$path)
    {
        if (substr($path, -5) == '.json') {
            $this->isJson = true;
        }
    }