| Conditions | 1 |
| Total Lines | 4 |
| Lines | 4 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | # frozen_string_literal: true |
||
| 35 | View Code Duplication | def unauthorized |
|
| 36 | render "errors/greenlight_error", status: 401, formats: :html, locals: { status_code: 401, |
||
| 37 | message: I18n.t("errors.unauthorized.message"), help: I18n.t("errors.unauthorized.help"), display_back: true } |
||
| 38 | end |
||
| 39 | end |
||
| 40 |