Merge pull request #3539 from movilla/404_blank_page_mobile

Fix #3428 blank page 404 on mobile
This commit is contained in:
Florian Staudacher 2012-09-06 10:05:09 -07:00
commit 9f27eba174
2 changed files with 1 additions and 2 deletions

View file

@ -20,8 +20,7 @@ class PostsController < ApplicationController
rescue_from Diaspora::NonPublic do |exception|
respond_to do |format|
format.html { render :template=>'errors/not_public', :status=>404 }
format.all { render :nothing=>true, :status=>404 }
format.all { render :template=>'errors/not_public', :status=>404 }
end
end