Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme.md 2.x fixes #53

Merged
merged 1 commit into from Mar 28, 2012
Merged

readme.md 2.x fixes #53

merged 1 commit into from Mar 28, 2012

Conversation

shama
Copy link
Contributor

@shama shama commented Mar 28, 2012

Updates to the examples used in the readme to work with 2.x.

I'm checking the viewPath using $viewPath = substr(get_class($this), 0, strlen(get_class($this)) - 10); because when extending a controller $this->viewPath == 'Users' when we want our actual viewPath 'AppUsers'.

lorenzo added a commit that referenced this pull request Mar 28, 2012
@lorenzo lorenzo merged commit 378f47f into CakeDC:2.0 Mar 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants