Apply middleware(s) to group of routes without prefix
Open
A-web
C-improvement
- Dominant language
- Rust
- Stars
- 24.8k
- Forks
- 1.9k
- Avg merge
- 23h 10m
- Merged PRs (30d)
- 26
Description
I have set of routes that need to pass through group of middlewares. I tried to use route scopes but it requires prefix to be applied as well. I'm looking for feature like in laravel [route groups ](https://laravel.com/docs/5.6/routing#route-groups)
eg.
public routes:
/login
private routes:
/dashboard
/users/**
/activities/**
/logout
Contributor guide
Assessment
This issue has not been assessed yet.