Hi all
in my /mysite/code/page.php
i have
class Page_Controller extends ContentController {
public function MobileOff(){
$_SESSION['mobilePhone']="None";
Director::redirect(Director::baseURL().$this->URLSegment);
}
but when I navigate to site.com/MobileOff it gives me a page cannot be found.
What am I missing?
John