X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d154270c884fe196fb56fa3123183c3408a45ecc..3b370c78b8ac967a56be8321bbd88618a52aa017:/redmine/redmine_publications/app/controllers/publications_controller.rb diff --git a/redmine/redmine_publications/app/controllers/publications_controller.rb b/redmine/redmine_publications/app/controllers/publications_controller.rb index 1220bea1..bb74d03f 100644 --- a/redmine/redmine_publications/app/controllers/publications_controller.rb +++ b/redmine/redmine_publications/app/controllers/publications_controller.rb @@ -13,7 +13,7 @@ class PublicationsController < ApplicationController end def refresh - regexp = Regexp.new(Setting.plugin_redmine_publications['pattern']) + regexp = Regexp.new(Setting.plugin_redmine_publications[:pattern]) Repository.all.each do |repo| repo.entries.each do |entry| match = entry.path.match(regexp)