actix / actix/actix-web

Apply middleware(s) to group of routes without prefix

オープン
#414 コメント 13 件 リアクション 13 件 担当者 1 名 @robjtede が担当を希望しています GitHub で見る
A-web C-improvement
主要言語
Rust
スター
24.8k
フォーク
1.9k
平均マージ
23時間 10分
マージ済み PR(30日)
26

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。