Skip to content

Commit

Permalink
More params protection
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Aug 16, 2016
1 parent 32404fc commit 00ce62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/history/index.html.erb
Expand Up @@ -3,7 +3,7 @@
<div style="margin-bottom: 1em;">
<ul class="history-header">
<% if @type == "all" || @type == "posts" %>
<li>» <%= link_to @options[:show_all_tags]? t('.show.all') : t('.show.changed'), params.merge({:show_all_tags=>@options[:show_all_tags]? 0:1}) %></li>
<li>» <%= link_to @options[:show_all_tags]? t('.show.all') : t('.show.changed'), :show_all_tags=> (@options[:show_all_tags] ? 0 : 1) %></li>
<% end %>
<%# If we're searching for a specific object, omit the id/name column and
Expand Down

0 comments on commit 00ce62a

Please sign in to comment.