Skip to content
This repository was archived by the owner on Dec 13, 2022. It is now read-only.

studio1902/statamic-auto-routes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto Routes

This addon updates routes when somene edits the slug for a page that has a collection mounted. The plugin will only update the routes configuration when there was already a route available.

Download the plugin and add it to your addons folder.

I'm my no means a skilled programmer at the time of writing. Feel free to treat this code as your own.

Brought to you by Studio 1902

Thanks to Mykolas & Bas de Kort for their help in learning backend programming.

About

Listens for page edits and updates collection routes on slug change.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages