Merge branch 'rails_3_1' of github.com:locomotivecms/engine into rails_3_1
This commit is contained in:
commit
81fc524fdc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user