Fixed a tiny bug preventing the robots controller rending.
This commit is contained in:
parent
e9ef4d48c3
commit
a65a871e19
@ -10,7 +10,7 @@ module Locomotive
|
|||||||
respond_to :txt
|
respond_to :txt
|
||||||
|
|
||||||
def show
|
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)
|
render :text => template.render('request_host' => self.request.host.downcase)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user