Sha256: 275dce68d5a1abcbc9b89114a445e141eb9036dc3bdd0a82177c0fb34e9d10e3

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

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

    def install
      template 'dash_controller.rb', 'app/controllers/dash_controller.rb'
      copy_file 'dash.html.erb', 'app/views/layouts/dash.html.erb'
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_dash-0.1.2 lib/generators/dash/install_generator.rb
rails_dash-0.1.1 lib/generators/dash/install_generator.rb
rails_dash-0.1.0 lib/generators/dash/install_generator.rb