Fix rubocop warning (#14288)

* Fix rubocop warning

* use limit variable

* use ContextCreatingMethods option
This commit is contained in:
abcang 2020-07-15 02:05:07 +09:00 committed by GitHub
parent a8e84a18f1
commit 6a96af4d20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 7 deletions

View file

@ -55,7 +55,7 @@ class ProofProvider::Keybase::ConfigSerializer < ActiveModel::Serializer
end
def profile_url
CGI.unescape(short_account_url('%{username}')) # rubocop:disable Style/FormatStringToken
CGI.unescape(short_account_url('%{username}'))
end
def check_url