-
Notifications
You must be signed in to change notification settings - Fork 2.6k
3.next - Scoped middleware docs #4984
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
Conversation
| use Cake\Http\Middleware\CsrfProtectionMiddleware; | ||
| use Cake\Http\Middleware\EncryptedCookieMiddleware; | ||
|
|
||
| Router::scope('/', function ($routes) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//in config/routes.php ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
ravage84
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Not sure I understand what you mean @ravage84 |
|
I just meant @saeideng's remark
So, we're fine, @markstory. |
I've not documented the Application class hook yet, as I want to think more about how to document that class more holistically.
Refs: cakephp/cakephp#10646