Skip to content

Restadd mr20

Ghost User requested to merge (removed):restadd_mr20 into master-cakephp
  • 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();

Merge request reports