aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-07-25 19:04:32 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-03 22:59:08 +0200
commitb52dfc6726d6471b5fea4ef1bde988157002a224 (patch)
tree1a41119ae647c99167108f4c856f0156c7a3f81b /railties/lib/rails/engine
parent0c1cd15470b6f953e1af8f47d072270b55474c31 (diff)
downloadrails-b52dfc6726d6471b5fea4ef1bde988157002a224.tar.gz
rails-b52dfc6726d6471b5fea4ef1bde988157002a224.tar.bz2
rails-b52dfc6726d6471b5fea4ef1bde988157002a224.zip
Added Rails.application.config.paths.db.migrate to remove hardcoded db/migrate paths
Diffstat (limited to 'railties/lib/rails/engine')
-rw-r--r--railties/lib/rails/engine/configuration.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb
index 4588c27277..9aac9c81d0 100644
--- a/railties/lib/rails/engine/configuration.rb
+++ b/railties/lib/rails/engine/configuration.rb
@@ -34,6 +34,8 @@ module Rails
paths.public.stylesheets "public/stylesheets"
paths.vendor "vendor", :load_path => true
paths.vendor.plugins "vendor/plugins"
+ paths.db "db"
+ paths.db.migrate "db/migrate"
paths
end
end