re-enable exception rescuefrom
This commit is contained in:
@@ -14,7 +14,7 @@ class ApplicationController < ActionController::Base
|
|||||||
force_ssl :if => :ssl_login?
|
force_ssl :if => :ssl_login?
|
||||||
helper_method :show_moderation_notice?
|
helper_method :show_moderation_notice?
|
||||||
|
|
||||||
# rescue_from Exception, :with => :rescue_exception
|
rescue_from Exception, :with => :rescue_exception
|
||||||
rescue_from User::PrivilegeError, :with => :access_denied
|
rescue_from User::PrivilegeError, :with => :access_denied
|
||||||
rescue_from SessionLoader::AuthenticationFailure, :with => :authentication_failed
|
rescue_from SessionLoader::AuthenticationFailure, :with => :authentication_failed
|
||||||
rescue_from Danbooru::Paginator::PaginationError, :with => :render_pagination_limit
|
rescue_from Danbooru::Paginator::PaginationError, :with => :render_pagination_limit
|
||||||
|
|||||||
Reference in New Issue
Block a user