From 694a6f4970e420b753db609d4f78cbc5348eec9c Mon Sep 17 00:00:00 2001 From: Anton Batenev Date: Fri, 5 Jul 2013 15:59:39 +0400 Subject: [PATCH] Fix recommendations from #1145 --- app/controllers/topics_controller.rb | 4 ++-- app/helpers/application_helper.rb | 6 +++--- app/models/site_setting.rb | 3 ++- config/locales/server.en.yml | 3 ++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb index 4dc05c2780e..d6188abd14e 100644 --- a/app/controllers/topics_controller.rb +++ b/app/controllers/topics_controller.rb @@ -41,9 +41,9 @@ class TopicsController < ApplicationController anonymous_etag(@topic_view.topic) do redirect_to_correct_topic && return if slugs_do_not_match - # render workaround pseudo-static HTML page for Yandex crawler (if enabled) + # render workaround pseudo-static HTML page for old crawlers which ignores