lib/padrino-gen/generators/components/scripts/rightjs_gen.rb in padrino-gen-0.7.0 vs lib/padrino-gen/generators/components/scripts/rightjs_gen.rb in padrino-gen-0.7.1
- old
+ new
@@ -3,11 +3,11 @@
module Components
module Scripts
module RightjsGen
def setup_script
- copy_file('templates/scripts/right.js', destination_root("/app/public/javascripts/right.js"))
- create_file(destination_root('/app/public/javascripts/application.js'), "// Put your application scripts here")
+ copy_file('templates/scripts/right.js', destination_root("/public/javascripts/right.js"))
+ create_file(destination_root('/public/javascripts/application.js'), "// Put your application scripts here")
end
end
end
end
end
\ No newline at end of file