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

No Custom Urlmanger Configurations in the docs #32

Closed
buttflattery opened this issue Dec 22, 2018 · 1 comment
Closed

No Custom Urlmanger Configurations in the docs #32

buttflattery opened this issue Dec 22, 2018 · 1 comment

Comments

@buttflattery
Copy link

buttflattery commented Dec 22, 2018

Hello i need to ask if there is any custom class or extension used by the urlManager configurations as i dont see any in the documentation the default class is used whereas inside the yii2-traits\LanguageTrait.php you have the getLanguagesSelect2() which calls the first line $languages = Yii::$app->urlManager->languages; that would trigger an error in case of the yii\web\urlManager class used, as there is no such property for that class

@buttflattery buttflattery changed the title No Custom Urlamanger Configurations in the docs No Custom Urlmanger Configurations in the docs Dec 22, 2018
@cinghie cinghie closed this as completed in 2cfcce3 May 7, 2019
@cinghie
Copy link
Owner

cinghie commented May 7, 2019

Hi @buttflattery,

thanks I fix the problem improving README and adding required codemix/yii2-localeurls to yii2-traits.

You can see all urlManager options on github developer page:

https://github.com/codemix/yii2-localeurls

@cinghie cinghie reopened this May 7, 2019
@cinghie cinghie closed this as completed May 7, 2019
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

No branches or pull requests

2 participants