syntax fix

This commit is contained in:
Mojca Lorber 2017-01-06 10:46:36 +01:00
parent 4e7e261225
commit aad2eadeae
2 changed files with 3 additions and 3 deletions

View file

@ -22,11 +22,11 @@ module SearchHelper
if search_org != current_organization
link_to text,
path,
:class => 'btn btn-primary',
class: 'btn btn-primary',
data: { confirm: t('users.settings.changed_org_in_search',
team: search_org.name) }
else
link_to text, path, :class => 'btn btn-primary'
link_to text, path, class: 'btn btn-primary'
end
end
end

View file

@ -18,7 +18,7 @@
 
<% end %>
<% if can_view_protocol(protocol) %>
<%= link_to text, '#', 'data-action' => 'protocol-preview', 'data-url' => preview_protocol_path(protocol) %>
<%= link_to text, '#', 'data-action': 'protocol-preview', 'data-url': preview_protocol_path(protocol) %>
<% else %>
<%= text %>
<% end %>