Fix rubocop Style/MethodDefParentheses
This commit is contained in:
parent
0308dc121f
commit
92de7b8a57
|
|
@ -13,7 +13,7 @@ class ApplicationController < ActionController::API
|
|||
|
||||
private
|
||||
|
||||
def require_owner! owner
|
||||
def require_owner!(owner)
|
||||
render_forbidden_error if owner != current_user
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue