X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d940e6b2345b50ffbd50bbe5f508f6d4ff4e0054..0249ff0d913dfaef2a6f5e8518e5736545a23c28:/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb 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..0465535a 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] || 1) %>

@@ -8,6 +8,6 @@

- <%= text_field_tag 'settings[pattern]', @settings['pattern'] %> + <%= text_field_tag 'settings[pattern]', @settings[:pattern] || '' %>