lib/authority/controller.rb in authority-0.3.0 vs lib/authority/controller.rb in authority-0.9.0

- old
+ new

@@ -22,10 +22,10 @@ protected def authority_forbidden(error) Authority.configuration.logger.warn(error.message) - render :file => Rails.root.join('public', '403.html'), :status => 403 + render :file => Rails.root.join('public', '403.html'), :status => 403, :layout => false end def run_authorization_check check_authorization_for self.class.authority_resource, send(Authority.configuration.user_method) end