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

[custom_slug] Makes it possible to have non-unique custom slugs #3378

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

xnagpa
Copy link

@xnagpa xnagpa commented Jul 10, 2018

It seems that custom_slug in pages.rb is unique no matter what.

It would be better to have unique custom_slug in scope of one parent page.
So we can have urls like /first_company/about, /second_company/about.

Custom_slug is valid if pages on the same depth level doesn't have the same custom_slug.

@bricesanchez
Copy link
Member

Hi @xnagpa!

Thanks for you Pull Request!

I like this feature but could you update/fix the specs?

Thanks :)

@xnagpa
Copy link
Author

xnagpa commented Jul 12, 2018 via email

@bricesanchez
Copy link
Member

Nope, the feature is still present : https://github.com/refinery/refinerycms/search?l=Ruby&q=custom_slug&type=

@xnagpa
Copy link
Author

xnagpa commented Jul 13, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants