Commit 3b5ba37521f74262ffe661e9f6933017f3d57ee0
Exists in
master
and in
29 other branches
Merge branch 'plugins-paths' into 'master'
Fix baseplugins addition See merge request !356
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
config/application.rb
... | ... | @@ -118,8 +118,8 @@ module Noosfero |
118 | 118 | config.time_zone = File.read('/etc/timezone').split("\n").first |
119 | 119 | config.active_record.default_timezone = :local |
120 | 120 | |
121 | - config.paths['db/migrate'] += Dir.glob "#{Rails.root}/{baseplugins,config/plugins/*}/db/migrate" | |
122 | - config.i18n.load_path += Dir.glob "#{Rails.root}/{baseplugins,config/plugins/*}/locales/*.{rb,yml}" | |
121 | + config.paths['db/migrate'] += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/db/migrate" | |
122 | + config.i18n.load_path += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/locales/*.{rb,yml}" | |
123 | 123 | |
124 | 124 | Noosfero::Plugin.setup(config) |
125 | 125 | ... | ... |