From 0e81def27bfaa36288143d1ff4c325164d4d2f10 Mon Sep 17 00:00:00 2001 From: Lukasz Rekucki Date: Fri, 21 Aug 2009 09:38:33 +0200 Subject: [PATCH 1/1] =?utf8?q?Domy=C5=9Blne=20ustawienia=20by=C5=82y=20nie?= =?utf8?q?poprawne.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../app/controllers/publications_controller.rb | 2 +- .../app/views/settings/_publications_settings.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) diff --git a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb index 65e436eb..626e5c62 100644 --- a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb +++ b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb @@ -1,4 +1,4 @@ -<% @tracker = Tracker.find(settings['tracker']) %> +<% @tracker = Tracker.find(@settings['tracker']) %>

-- 2.20.1