Commit 1491ed65 authored by Tim Zallmann's avatar Tim Zallmann

Fixing Static Analysis Fail with Indentation

parent d6697e0b
...@@ -288,7 +288,7 @@ module ApplicationHelper ...@@ -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 ...@@ -296,5 +296,4 @@ module ApplicationHelper
"https://www.twitter.com/#{name}" "https://www.twitter.com/#{name}"
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment