lib/slideshow/helpers/analytics_helper.rb in slideshow-0.9.1 vs lib/slideshow/helpers/analytics_helper.rb in slideshow-0.9.2

- old
+ new

@@ -1,6 +1,7 @@ -module AnalyticsHelper +module Slideshow + module AnalyticsHelper def google_analytics( opts = {} ) # if no user account code (e.g. UA-397343-10) passed along use @@ -25,15 +26,17 @@ </script> <!-- end google-analytics --> EOS - guard_text( text ) + guard_block( text ) end -end # module AnalyticsHelper +end # module AnalyticsHelper +end # module Slideshow + class Slideshow::Gen - include AnalyticsHelper + include Slideshow::AnalyticsHelper end