Fixes syntax error
This commit is contained in:
parent
9a60bd54a5
commit
84d1b350d4
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ module DiffHelper
|
|||
# Always use HTML to handle case where JSON diff rendered this button
|
||||
params_copy.delete(:format)
|
||||
|
||||
link_to url_for(params_copy), id: "#{name}-diff-btn", class: (selected ? 'btn active' : 'btn'), data: {view_type: name} do
|
||||
link_to url_for(params_copy), id: "#{name}-diff-btn", class: (selected ? 'btn active' : 'btn'), data: { view_type: name } do
|
||||
title
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue