Fix blank page 404 on mobile

This commit is contained in:
movilla 2012-09-04 00:09:45 +02:00
parent 45223fd634
commit c0c568365a
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