From 4419d50780e80c91a7da966c3ddf966260b1895f Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 14 Apr 2016 17:22:26 +0800 Subject: [PATCH] Fix build. --- app/helpers/application_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 5a4ec12e51f..4b6808962cc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -159,13 +159,13 @@ module ApplicationHelper def render_sitelinks_search_tag json = { - '@context': 'http://schema.org', - '@type': 'WebSite', + '@context' => 'http://schema.org', + '@type' => 'WebSite', url: Discourse.base_url, potentialAction: { - '@type': 'SearchAction', + '@type' => 'SearchAction', target: "#{Discourse.base_url}/search?q={search_term_string}", - 'query-input': 'required name=search_term_string', + 'query-input' => 'required name=search_term_string', } } content_tag(:script, MultiJson.dump(json).html_safe, type: 'application/ld+json'.freeze)