Skip to content

[5.x] Use Statamic.$slug helper instead of $slugify#10018

Merged
jasonvarga merged 2 commits intomasterfrom
pr-10014-use-statamic-slug-helper
May 8, 2024
Merged

[5.x] Use Statamic.$slug helper instead of $slugify#10018
jasonvarga merged 2 commits intomasterfrom
pr-10014-use-statamic-slug-helper

Conversation

@duncanmcclean
Copy link
Copy Markdown
Member

In #10014, I used the this.$slugify helper to generate handles for tabs & sets based on their display names.

In v5, this.$slugify has been deprecated in favour of Statamic.$slug. This PR updates that code in v5 to use the Statamic.$slug helper.

@jasonvarga jasonvarga merged commit 48f3faf into master May 8, 2024
@jasonvarga jasonvarga deleted the pr-10014-use-statamic-slug-helper branch May 8, 2024 14:47
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.

2 participants