Sha256: c0e1fbf376a1e979ee9aa47a969efa703e2274ad917e0c1bc7a74e0c6173554e
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
module Dash class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def install template 'base_controller.rb', 'app/controllers/dash/base_controller.rb' copy_file 'dash.html.erb', 'app/views/layouts/dash.html.erb' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_dash-0.1.4 | lib/generators/dash/install_generator.rb |
rails_dash-0.1.3 | lib/generators/dash/install_generator.rb |