diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/show.html.erb | 2 | ||||
-rw-r--r-- | app/views/users/_preferences.html.erb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index d50f5e226..c4777ff83 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -124,7 +124,7 @@ end %> <div id="history"> <h3><%=l(:label_history)%></h3> -<%= render_tabs issue_history_tabs, params[:tab] ? params[:tab] : 'notes' %> +<%= render_tabs issue_history_tabs, issue_history_default_tab %> </div> <%= render partial: 'action_menu_edit' unless User.current.wants_comments_in_reverse_order? %> diff --git a/app/views/users/_preferences.html.erb b/app/views/users/_preferences.html.erb index 6c4e5337a..6397c3a38 100644 --- a/app/views/users/_preferences.html.erb +++ b/app/views/users/_preferences.html.erb @@ -5,4 +5,5 @@ <p><%= pref_fields.check_box :warn_on_leaving_unsaved %></p> <p><%= pref_fields.select :textarea_font, textarea_font_options %></p> <p><%= pref_fields.text_field :recently_used_projects, :size => 2 %></p> +<p><%= pref_fields.select :history_default_tab, history_default_tab_options %></p> <% end %> |