app/controllers/locomotive/public/robots_controller.rb in locomotive_cms-2.0.3 vs app/controllers/locomotive/public/robots_controller.rb in locomotive_cms-2.1.0
- old
+ new
@@ -6,10 +6,10 @@
respond_to :txt
def show
template = ::Liquid::Template.parse(current_site.robots_txt)
- render :text => template.render(locomotive_context.merge('request_host' => self.request.host.downcase))
+ render text: template.render(locomotive_context.merge('request_host' => self.request.host.downcase))
end
end
end
end
\ No newline at end of file