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