Update rubocop to version 1.79.0 (#35502)
This commit is contained in:
parent
960f693219
commit
2e35defeec
10 changed files with 16 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
class Api::V1::Admin::TagsController < Api::BaseController
|
||||
include Authorization
|
||||
|
||||
before_action -> { authorize_if_got_token! :'admin:read' }, only: [:index, :show]
|
||||
before_action -> { authorize_if_got_token! :'admin:write' }, only: :update
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue