Fixing Static Analysis Fail with Indentation
This commit is contained in:
parent
d6697e0b4d
commit
1491ed656e
|
@ -288,7 +288,7 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def twitter_url(user)
|
def twitter_url(user)
|
||||||
name = user.twitter
|
name = user.twitter
|
||||||
if name =~ %r{\Ahttps?:\/\/(www\.)?twitter\.com\/(.*)\z}
|
if name =~ %r{\Ahttps?:\/\/(www\.)?twitter\.com\/(.*)\z}
|
||||||
name
|
name
|
||||||
|
@ -296,5 +296,4 @@ module ApplicationHelper
|
||||||
"https://www.twitter.com/#{name}"
|
"https://www.twitter.com/#{name}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue