From a65a871e19af787f4927e61003dd0282c2891d63 Mon Sep 17 00:00:00 2001 From: Mario Visic Date: Tue, 27 Dec 2011 21:31:36 +0800 Subject: [PATCH] Fixed a tiny bug preventing the robots controller rending. --- app/controllers/locomotive/robots_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/locomotive/robots_controller.rb b/app/controllers/locomotive/robots_controller.rb index 6dabb317..741693aa 100644 --- a/app/controllers/locomotive/robots_controller.rb +++ b/app/controllers/locomotive/robots_controller.rb @@ -10,7 +10,7 @@ module Locomotive respond_to :txt def show - template = Liquid::Template.parse(current_site.robots_txt) + template = ::Liquid::Template.parse(current_site.robots_txt) render :text => template.render('request_host' => self.request.host.downcase) end