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

Two word resources are not slugified #69

Closed
edalzell opened this issue Aug 9, 2021 · 1 comment
Closed

Two word resources are not slugified #69

edalzell opened this issue Aug 9, 2021 · 1 comment

Comments

@edalzell
Copy link
Contributor

edalzell commented Aug 9, 2021

Description

I have a resource OrphanUpdate. When used in a template I need to do {{ runway:orphanupdate ... }} instead of {{ runway:orphan_update ... }} like I'd expect.

Steps to reproduce

  1. Have a CamelCased resource FooBar
  2. Attempt to reference in a template like {{ runway:foo_bar ... }}

Environment

Statamic 3.1.32 Pro
Laravel 8.53.1
PHP 8.0.9
aryehraber/statamic-captcha 1.5.2
aryehraber/statamic-uuid 2.0.3
doublethreedigital/runway 2.1.5
edalzell/forma 0.8.12
jonassiewertsen/statamic-livewire 2.6
statamic/seo-pro 2.2.1
transformstudios/events 2.2
transformstudios/front 1.2.1
transformstudios/magic-link dev-main
transformstudios/memorial dev-feature/orphan-portal
transformstudios/price-of dev-feature/orphan-portal
transformstudios/review 3.1
transformstudios/simple dev-main
transformstudios/stripe dev-main
transformstudios/takeover-redirects dev-main
@duncanmcclean
Copy link
Member

Fixed in v2.1.6.

ryanmitchell pushed a commit to ryanmitchell/runway that referenced this issue Jan 25, 2022
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