AO3-6859 Fix admins being disallowed from tags pages #1513
Annotations
1 error and 4 warnings
rubocop
Process completed with exit code 1.
|
rubocop:
app/controllers/tags_controller.rb#L66
[rubocop] reported by reviewdog 🐶
Use 2 (not 0) spaces for indentation.
Raw Output:
app/controllers/tags_controller.rb:66:7: C: Layout/IndentationWidth: Use 2 (not 0) spaces for indentation.
|
rubocop:
app/controllers/tags_controller.rb#L66
[rubocop] reported by reviewdog 🐶
Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
Raw Output:
app/controllers/tags_controller.rb:66:23: C: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
|
rubocop:
app/controllers/tags_controller.rb#L66
[rubocop] reported by reviewdog 🐶
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Raw Output:
app/controllers/tags_controller.rb:66:26: C: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
rubocop:
app/controllers/tags_controller.rb#L72
[rubocop] reported by reviewdog 🐶
Use the return of the conditional for variable assignment and comparison.
Raw Output:
app/controllers/tags_controller.rb:72:7: C: Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
|
Loading