Fix rubocop Style/MethodDefParentheses

This commit is contained in:
Thor77 2018-11-24 19:20:53 +01:00
parent 0308dc121f
commit 92de7b8a57
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 1 additions and 1 deletions

View File

@ -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