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

Fix #199 #242

Closed
wants to merge 1 commit into from
Closed

Fix #199 #242

wants to merge 1 commit into from

Conversation

StephLin
Copy link

@StephLin StephLin commented Apr 4, 2019

According to this discussion in Laracasts, the str_slug is only language supported for few three languages (en, de, and bg).
That is, if the language of discussion title is not supported, one will get some unexpected error (such as #199).
From here I replace str_slug with str_random to solve the problem. Also I check existence so as to avoid slug conflict.

@StephLin StephLin closed this Nov 9, 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

Successfully merging this pull request may close these issues.

None yet

1 participant