| Module | Merb::ControllerExceptions |
| In: |
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>
| STATUS_CODES | = | {} | Mapping of status code names to their numeric value. |