lib/authority/controller.rb in authority-1.0.0 vs lib/authority/controller.rb in authority-1.1.0

- old
+ new

@@ -50,10 +50,10 @@ protected # Renders a static file to minimize the chances of further errors. # - # @param [Exception] error, an error that indicates the user tried to perform a forbidden action. + # @param [Exception] error, an error that indicates the user tried to perform a forbidden action. def authority_forbidden(error) Authority.configuration.logger.warn(error.message) render :file => Rails.root.join('public', '403.html'), :status => 403, :layout => false end