dont forget mobile site :)
This commit is contained in:
parent
f5fbaaadcf
commit
8270a486ae
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ class PostsController < ApplicationController
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.xml{ render :xml => @post.to_diaspora_xml }
|
format.xml{ render :xml => @post.to_diaspora_xml }
|
||||||
|
format.mobile{render 'posts/show.mobile.haml'}
|
||||||
format.any{render 'posts/show.html.haml'}
|
format.any{render 'posts/show.html.haml'}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue