Skip to content

Delete multiple routes in one go #10069

Discussion options

You must be logged in to vote

Agree we should making deleting easier. Maybe even just an x button beside each route on the main listing view, which would at least save one click.

In the meantime, you might find it easier to delete routes directly from the project config. They are stored in config/project/routes/, and each route is a file in there named after the route’s UUID. (Realize that’s not a very human-friendly filename, but you could search the folder for calendar or whatever, to quickly find all the files that you’re looking to delete.)

After deleting them, run the following command to apply the changes:

php craft project-config/apply

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
system administration 💼 features related to system administration
2 participants