Sha256: 8b2acb9ab2500827392054d3ef98a174d130b7b856a66b9f2807ca6f9efca7aa

Contents?: true

Size: 407 Bytes

Versions: 10

Compression:

Stored size: 407 Bytes

Contents

require "rails/generators"

module ActiveFrontend
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def copy_javascript_file
      copy_file("install.js", "vendor/assets/javascripts/active_frontend.js")
    end

    def copy_stylesheet_file
      copy_file("install.scss", "vendor/assets/stylesheets/active_frontend.scss")
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active_frontend-13.3.0 lib/generators/active_frontend/install_generator.rb
active_frontend-13.2.0 lib/generators/active_frontend/install_generator.rb
active_frontend-13.1.0 lib/generators/active_frontend/install_generator.rb
active_frontend-13.0.6 lib/generators/active_frontend/install_generator.rb
active_frontend-13.0.5 lib/generators/active_frontend/install_generator.rb
active_frontend-13.0.4 lib/generators/active_frontend/install_generator.rb
active_frontend-13.0.3 lib/generators/active_frontend/install_generator.rb
active_frontend-13.0.2 lib/generators/active_frontend/install_generator.rb
active_frontend-13.0.1 lib/generators/active_frontend/install_generator.rb
active_frontend-13.0.0 lib/generators/active_frontend/install_generator.rb