Sha256: d1a5b39c556d0513132362fab8f982b408e010eca57ea9025ae20f111ad11b10

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

module Stationed
  module Generators
    module Plugins
      module Turbolinks
        def finish_template
          gsub_file 'Gemfile', /^gem 'turbolinks'.*\n/, ''
          gsub_file 'app/assets/javascripts/application.js', %r{//= require turbolinks\n}, ''
          super
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stationed-0.0.1 lib/stationed/generators/plugins/turbolinks.rb