Sha256: ee22245a19a1972da836d930580ee7b90304306964442d7e16a71ba0bc8d9bba

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

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

    def install
      route "mount RailsDash::Engine => '/dash'"
      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

1 entries across 1 versions & 1 rubygems

Version Path
rails_dash-0.0.1 lib/generators/dash/install_generator.rb