fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma
[redakcja.git]
/
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
65e436e
..
0465535
100644
(file)
--- 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
) %>
<fieldset>
<p>
<fieldset>
<p>
@@
-8,6
+8,6
@@
<p>
<label for="settings[pattern]">Filtr publikacji: </label>
<p>
<label for="settings[pattern]">Filtr publikacji: </label>
- <%= text_field_tag 'settings[pattern]', @settings[
'pattern']
%>
+ <%= text_field_tag 'settings[pattern]', @settings[
:pattern] || ''
%>
</p>
</fieldset>
</p>
</fieldset>