lib/generators/dash/install_generator.rb in rails_dash-0.0.1 vs lib/generators/dash/install_generator.rb in rails_dash-0.0.2
- old
+ new
@@ -3,9 +3,10 @@
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