Skip to content

Commit

Permalink
Merge pull request #6 from bmorrall/remove_whitespace
Browse files Browse the repository at this point in the history
Removed additional whitespace
  • Loading branch information
theinbetweens committed Aug 27, 2015
2 parents 480862a + b813f51 commit 25b68b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions RailsApplication1/app/controllers/ga_controller.rb
Expand Up @@ -12,7 +12,7 @@ def utm_gif
response.headers["Cache-Control"] = "private, no-cache, no-cache=Set-Cookie, proxy-revalidate"
response.headers["Pragma"] = "no-cache"
response.headers["Expires"] = "Wed, 17 Sep 1975 21:32:10 GMT"

send_data track_pageview
end

Expand Down Expand Up @@ -61,8 +61,7 @@ def get_visitor_id(guid, account, user_agent, cookie)
message = user_agent + get_random_number.to_s
end

md5string = Digest::MD5.hexdigest(message);

md5string = Digest::MD5.hexdigest(message)
return "0x" + md5string[0, 16]
end

Expand Down

0 comments on commit 25b68b0

Please sign in to comment.