Sha256: acf9d7b4a305041c9467a2aa8127afdbb64f2a4058bb78d3cf3c5182be654217
Contents?: true
Size: 399 Bytes
Versions: 13
Compression:
Stored size: 399 Bytes
Contents
require 'rails/generators' module Analytics module Generators class GoogleGenerator < ::Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) desc "add Google Analytics to a Rails application" def add_google_analytics copy_file 'google_analytics.js.coffee', 'app/assets/javascripts/google_analytics.js.coffee' end end end end
Version data entries
13 entries across 13 versions & 1 rubygems