[refs #90] removed logger
This commit is contained in:
parent
b6e3b12e3a
commit
54f3c63e68
|
@ -15,7 +15,6 @@ class ApplicationController < ActionController::Base
|
|||
helper_method :get_owner
|
||||
|
||||
rescue_from CanCan::AccessDenied do |exception|
|
||||
#Rails.logger.debug "Access denied on #{exception.action} #{exception.subject.inspect}"
|
||||
redirect_to forbidden_url, :alert => t("flash.exception_message")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue