Skip to content

Commit

Permalink
VERSION file is one dir up
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Aug 22, 2010
1 parent 73dcb75 commit 201bfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rails/generators/clearance_generator.rb
Expand Up @@ -62,7 +62,7 @@ def migration_target_name
end

def schema_version
IO.read(File.join(File.dirname(__FILE__), '..', '..', 'VERSION')).strip.gsub(/[^\d]/, '_')
IO.read(File.join(File.dirname(__FILE__), '..', '..', '..', 'VERSION')).strip.gsub(/[^\d]/, '_')
end

def upgrading_clearance_again?
Expand Down

0 comments on commit 201bfbf

Please sign in to comment.