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

get module instance via module property of Controller #3

Merged
merged 1 commit into from
May 30, 2014

Conversation

wenbin1989
Copy link
Contributor

replace Yii::$app->getModule('oauth2') with $this->module

the former has the hard coded module name oauth2, which should be avoided.

replace Yii::$app->getModule('oauth2') with $this->module
filsh added a commit that referenced this pull request May 30, 2014
get module instance via module property of Controller
@filsh filsh merged commit 61bc35c into filsh:master May 30, 2014
@filsh
Copy link
Owner

filsh commented May 30, 2014

thank you for commit

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