X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d940e6b2345b50ffbd50bbe5f508f6d4ff4e0054..8daaa89eca8bd7d5fa7d20469486bd8610c7bc32:/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)