此合并请求的源项目已被删除。
Restadd mr20
- handling HttpException errors like CakeException errors which allow templates to be created like app/View/Errors/unauthorized.ctp
The following code in any controller will cause the app/View/Errors/unauthorized.ctp template to be rendered.
throw new UnauthorizedException();