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