diff options
-rw-r--r-- | lib/redmine/plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index d41d8eda7..fc29633d6 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -432,7 +432,7 @@ module Redmine #:nodoc: # The directory containing this plugin's migrations (<tt>plugin/db/migrate</tt>) def migration_directory - File.join(Rails.root, 'plugins', id.to_s, 'db', 'migrate') + File.join(directory, 'db', 'migrate') end # Returns the version number of the latest migration for this plugin. Returns |