diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-07 08:09:38 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-07 08:09:38 +0000 |
commit | 6c434e8b8e420c76f86ba6605e98426fddca5031 (patch) | |
tree | 3f5a5f83f41a3e30e37f6b1b03106d000f84d871 /railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb | |
parent | 5c1eb899dea9aad18220b6403d3dd83863591f28 (diff) | |
download | rails-6c434e8b8e420c76f86ba6605e98426fddca5031.tar.gz rails-6c434e8b8e420c76f86ba6605e98426fddca5031.tar.bz2 rails-6c434e8b8e420c76f86ba6605e98426fddca5031.zip |
New configuration option config.plugin_paths which may be a single path like the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. Plugins are discovered in nested paths, so you can organize your plugins directory as you like. Refactor load_plugin from load_plugins. Simplify initializer unit test. Closes #2757.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb')
-rw-r--r-- | railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb b/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb new file mode 100644 index 0000000000..2d569e5002 --- /dev/null +++ b/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb @@ -0,0 +1,2 @@ +module StubbyMixin +end |