changing flash[:error] to flash[:alert] in rdocs - closes #238

This commit is contained in:
Ryan Bates 2011-01-18 09:19:22 -08:00
parent 04522c9bc6
commit 52b33589dc

View File

@ -294,7 +294,7 @@ module CanCan
#
# class ApplicationController < ActionController::Base
# rescue_from CanCan::AccessDenied do |exception|
# flash[:error] = exception.message
# flash[:alert] = exception.message
# redirect_to root_url
# end
# end