Using double splat operator (#5859)

This commit is contained in:
Yamagishi Kazutoshi authored and Eugen Rochko committed 2017-12-06 11:41:57 +01:00
1 parent 42bcbd36b7
commit b21db9bbde
25 files changed
+32 -32

No files matched your search

@@ -51,7 +51,7 @@ class Api::V1::AccountsController < Api::BaseController
@account = Account.find(params[:id])
end
def relationships(options = {})
def relationships(**options)
AccountRelationshipsPresenter.new([@account.id], current_user.account_id, options)
end
end