Try to get rid of the googlebot error on posts/show
This commit is contained in:
parent
c67b2a5e93
commit
7900f291e4
1 changed files with 1 additions and 1 deletions
|
|
@ -27,8 +27,8 @@ class PostsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.all{ }
|
|
||||||
format.xml{ render :xml => @post.to_diaspora_xml }
|
format.xml{ render :xml => @post.to_diaspora_xml }
|
||||||
|
format.any{}
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue