lib/generators/dashing/install_generator.rb in dashing-rails-1.0.3 vs lib/generators/dashing/install_generator.rb in dashing-rails-2.0.0
- old
+ new
@@ -17,11 +17,11 @@
def copy_dashboard
template 'dashboards/sample.html.erb', 'app/views/dashing/dashboards/sample.html.erb'
end
def copy_widget_manifests
- template 'widgets/index.css', 'app/views/dashing/widgets/index.css'
- template 'widgets/index.js', 'app/views/dashing/widgets/index.js'
+ template 'widgets/index.css', 'app/assets/stylesheets/dashing/widgets/index.css'
+ template 'widgets/index.js', 'app/assets/javascripts/dashing/widgets/index.js'
end
def copy_job
template 'jobs/sample.rb', 'app/jobs/sample.rb'
end