Skip to content

Instantly share code, notes, and snippets.

@ridget
Created November 12, 2012 00:54
Show Gist options
  • Save ridget/4056972 to your computer and use it in GitHub Desktop.
Save ridget/4056972 to your computer and use it in GitHub Desktop.
File protected/controllers/user/Foo.php not loading why..?
<?php
class ChangePassword extends CAction {
... action code here
}
<?php
class UserController extends Controller
{
public function actions()
{
return array(
'changePassword'=> 'application.controllers.user.ChangePassword',
);
}
....
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment