I am getting error when I add rule
//Config
Director::addRules(100, array(
'mypage/profile//$Action/$ID' => MyClass',
'mypage/profile//' => 'MyClass'
));
//MyClass Controller
class MyClass_Controller extends Page_Controller
private static $allowed_actions = array (
'index',
'view',
);
}
Thanks
B L Praveen