Sha256: e8873c1f23167a21896c54b6400c81ea681946a72c147102d09567c987039d42
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
module Dash class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def install route "mount RailsDash::Engine => '/dash'" route "namespace :dash do\n\n end" template 'dash.erb', 'app/controllers/dash_controller.rb' template 'layout.erb', 'app/views/layouts/dash.html.haml' template 'filter.erb', 'app/views/dash/shared/_filter.html.haml' template 'pager.erb', 'app/views/dash/shared/_pager.html.haml' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_dash-0.0.4 | lib/generators/dash/install_generator.rb |
rails_dash-0.0.3 | lib/generators/dash/install_generator.rb |
rails_dash-0.0.2 | lib/generators/dash/install_generator.rb |