about summary refs log tree commit diff
path: root/app/controllers/authorize_follows_controller.rb
diff options
context:
space:
mode:
authoryhirano <yhirano@me.com>2017-04-30 07:23:45 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-04-30 00:23:45 +0200
commit8325866c6101c7b63b616e7e0035080ef1af96a7 (patch)
treec469fbd1529052675602caac06653db3ab205e9c /app/controllers/authorize_follows_controller.rb
parent01e011bc902709db6ec92bcea0136ae9fd258c34 (diff)
Downgrade rubocop 0.48.1 => 0.46.0 (#2628)
* downgrade rubocop 0.48.1 => 0.46.0

* exclude vendor/**/* from rubocop target files

* add frozen_string_literal comment line

* fix percent literal delimited by ( and )

* fix alignment

* remove comment disabling unknown cop
Diffstat (limited to 'app/controllers/authorize_follows_controller.rb')
-rw-r--r--app/controllers/authorize_follows_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/authorize_follows_controller.rb b/app/controllers/authorize_follows_controller.rb
index f00646e20..b15883d58 100644
--- a/app/controllers/authorize_follows_controller.rb
+++ b/app/controllers/authorize_follows_controller.rb
@@ -44,7 +44,7 @@ class AuthorizeFollowsController < ApplicationController
   end
 
   def acct_param_is_url?
-    parsed_uri.path && %w[http https].include?(parsed_uri.scheme)
+    parsed_uri.path && %w(http https).include?(parsed_uri.scheme)
   end
 
   def parsed_uri