public
Rubygem
Description: Automatically insert Google Analytics code into your pages
Clone URL: git://github.com/rubaidh/google_analytics.git
duplicated the init code into the location gems look.
markcatley (author)
Sun Jul 13 15:05:06 -0700 2008
commit  cca834f8a1a0b0e5e6b6b6266d3c36553a406b93
tree    079824b8990f986fb811ae59efd41437381217df
parent  8494f6620ffaf173a71e3ae3e4f78cb82f628d0e
...
1
 
2
3
4
 
 
5
...
1
2
3
 
4
5
6
7
0
@@ -1,3 +1,5 @@
0
 require 'rubaidh/google_analytics'
0
+require 'rubaidh/view_helpers'
0
 ActionController::Base.send :include, Rubaidh::GoogleAnalyticsMixin
0
-ActionController::Base.send :after_filter, :add_google_analytics_code
0
\ No newline at end of file
0
+ActionController::Base.send :after_filter, :add_google_analytics_code
0
+ActionView::Base.send :include, Rubaidh::GoogleAnalyticsViewHelper
0
\ No newline at end of file

Comments

    No one has commented yet.