Commit 56f0dd6efced8a880d8e7f4b2260191858db4c3a
1 parent
5d182131
Exists in
master
and in
29 other branches
Fix routes for base plugins
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', | ... | ... |