Permalink
Browse files

Fixed js path

  • Loading branch information...
1 parent ccecf9b commit 534bed2f9dd7829003acaa0f7a6714bbd71ef1ad @pch pch committed Aug 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/validated_fields/javascript_generator.rb
@@ -2,7 +2,7 @@ module ValidatedFields
class JavascriptGenerator < Rails::Generators::Base
desc "This generator copies the validated-fields.js file to the public/javascripts directory in your application."
- source_root File.expand_path("../../javascripts", __FILE__)
+ source_root File.expand_path("../../../javascripts", __FILE__)
# all public methods in here will be run in order
def copy_javascript_file

0 comments on commit 534bed2

Please sign in to comment.