garails 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -2
- data/app/helpers/garails/mobile_helper.rb +2 -2
- data/lib/garails/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
module Garails::MobileHelper
|
2
2
|
|
3
3
|
def utm_tag
|
4
|
-
image_tag
|
4
|
+
image_tag utm_path, :alt => "", :size => "1x1"
|
5
5
|
end
|
6
6
|
|
7
|
-
def
|
7
|
+
def utm_path
|
8
8
|
referer = request.env['HTTP_REFERER']
|
9
9
|
params = {
|
10
10
|
:utmn => rand(0x7fffffff).to_s,
|
data/lib/garails/version.rb
CHANGED