compatibility fixes

This commit is contained in:
r888888888
2014-12-10 16:59:54 -08:00
parent ace7e6abff
commit 9f0d818f81
5 changed files with 9 additions and 14 deletions

View File

@@ -12,9 +12,9 @@ class ApplicationController < ActionController::Base
# before_filter :secure_cookies_check
layout "default"
rescue_from Exception, :with => :rescue_exception
rescue_from User::PrivilegeError, :with => :access_denied
rescue_from Danbooru::Paginator::PaginationError, :with => :render_pagination_limit
rescue_from Exception, :with => :rescue_exception
protected
def api_check