Merge pull request #3539 from movilla/404_blank_page_mobile
Fix #3428 blank page 404 on mobile
This commit is contained in:
commit
9f27eba174
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue