Commit 3300e3edfbc5efa5fb40de5a5b8fe28642486cf1
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'rails3' into rails3_stable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/plugin/routes.rb
1 | -plugins_root = Rails.env.test? ? 'plugins' : File.join('config', 'plugins') | |
1 | +plugins_root = Rails.env.test? ? 'plugins' : '{baseplugins,config/plugins}' | |
2 | 2 | |
3 | 3 | Dir.glob(Rails.root.join(plugins_root, '*', 'controllers')) do |controllers_dir| |
4 | 4 | prefixes_by_folder = {'public' => 'plugin', | ... | ... |