Fixing Static Analysis Fail with Indentation

This commit is contained in:
Tim Zallmann 2017-05-08 16:45:59 +02:00
parent d6697e0b4d
commit 1491ed656e
1 changed files with 1 additions and 2 deletions

View File

@ -288,7 +288,7 @@ module ApplicationHelper
end
end
def twitter_url(user)
def twitter_url(user)
name = user.twitter
if name =~ %r{\Ahttps?:\/\/(www\.)?twitter\.com\/(.*)\z}
name
@ -296,5 +296,4 @@ module ApplicationHelper
"https://www.twitter.com/#{name}"
end
end
end