Module Merb::ControllerExceptions
In: merb-core/lib/merb-core/controller/exceptions.rb
    def admin_access_required
      render
    end
  end

In app/views/exceptions/admin_access_required.rhtml

  <h1>You're not an administrator!</h1>
  <p>You tried to access <%= @tried_to_access %> but that URL is
  restricted to administrators.</p>

Classes and Modules

Class Merb::ControllerExceptions::Accepted
Class Merb::ControllerExceptions::ActionNotFound
Class Merb::ControllerExceptions::BadGateway
Class Merb::ControllerExceptions::BadRequest
Class Merb::ControllerExceptions::Base
Class Merb::ControllerExceptions::ClientError
Class Merb::ControllerExceptions::Conflict
Class Merb::ControllerExceptions::Continue
Class Merb::ControllerExceptions::Created
Class Merb::ControllerExceptions::ExpectationFailed
Class Merb::ControllerExceptions::Forbidden
Class Merb::ControllerExceptions::GatewayTimeout
Class Merb::ControllerExceptions::Gone
Class Merb::ControllerExceptions::HTTPVersionNotSupported
Class Merb::ControllerExceptions::Informational
Class Merb::ControllerExceptions::InternalServerError
Class Merb::ControllerExceptions::LayoutNotFound
Class Merb::ControllerExceptions::LengthRequired
Class Merb::ControllerExceptions::MethodNotAllowed
Class Merb::ControllerExceptions::MovedPermanently
Class Merb::ControllerExceptions::MovedTemporarily
Class Merb::ControllerExceptions::MultiPartParseError
Class Merb::ControllerExceptions::MultipleChoices
Class Merb::ControllerExceptions::NoContent
Class Merb::ControllerExceptions::NonAuthoritativeInformation
Class Merb::ControllerExceptions::NotAcceptable
Class Merb::ControllerExceptions::NotFound
Class Merb::ControllerExceptions::NotImplemented
Class Merb::ControllerExceptions::NotModified
Class Merb::ControllerExceptions::OK
Class Merb::ControllerExceptions::PartialContent
Class Merb::ControllerExceptions::PaymentRequired
Class Merb::ControllerExceptions::PreconditionFailed
Class Merb::ControllerExceptions::ProxyAuthenticationRequired
Class Merb::ControllerExceptions::Redirection
Class Merb::ControllerExceptions::RequestEntityTooLarge
Class Merb::ControllerExceptions::RequestRangeNotSatisfiable
Class Merb::ControllerExceptions::RequestTimeout
Class Merb::ControllerExceptions::RequestURITooLarge
Class Merb::ControllerExceptions::ResetContent
Class Merb::ControllerExceptions::SeeOther
Class Merb::ControllerExceptions::ServerError
Class Merb::ControllerExceptions::ServiceUnavailable
Class Merb::ControllerExceptions::Successful
Class Merb::ControllerExceptions::SwitchingProtocols
Class Merb::ControllerExceptions::TemplateNotFound
Class Merb::ControllerExceptions::TemporaryRedirect
Class Merb::ControllerExceptions::Unauthorized
Class Merb::ControllerExceptions::UnsupportedMediaType
Class Merb::ControllerExceptions::UseProxy

Constants

STATUS_CODES = {}   Mapping of status code names to their numeric value.

[Validate]