Class: Merb::Dispatcher::DefaultException
- Inherits:
-
Controller
- Object
- AbstractController
- Controller
- Merb::Dispatcher::DefaultException
- Defined in:
- lib/merb-core/dispatch/default_exception/default_exception.rb
Overview
:api: private
Constant Summary
Constants included from ResponderMixin
ResponderMixin::ACCEPT_RESULTS, ResponderMixin::MIMES, ResponderMixin::MIME_MUTEX, ResponderMixin::TYPES
Constants inherited from AbstractController
AbstractController::FILTER_OPTIONS
Constants included from ControllerExceptions
ControllerExceptions::STATUS_CODES
Instance Attribute Summary
Attributes inherited from Controller
Attributes inherited from AbstractController
#_benchmarks, #_thrown_content, #action_name, #body, #content_type
Instance Method Summary collapse
-
#_template_location(context, type = nil, controller = controller_name) ⇒ Object
:api: private.
-
#index ⇒ Object
:api: private.
Methods inherited from Controller
#_absolute_template_location, _callable_methods, #_dispatch, _filter_params, #absolute_url, abstract!, abstract?, callable_actions, hide_action, inherited, #initialize, overridable, override!, #params, #rack_response, #resource, show_action, #status, #status=, subclasses_list, #url
Methods included from ConditionalGetMixin
#etag, #etag=, #etag_matches?, #last_modified, #last_modified=, #not_modified?, #request_fresh?
Methods included from AuthenticationMixin
Methods included from ControllerMixin
#delete_cookie, #escape_xml, #message, #nginx_send_file, #redirect, #render_chunked, #render_deferred, #render_then_call, #run_later, #send_chunk, #send_data, #send_file, #set_cookie, #stream_file
Methods included from ResponderMixin
#_accept_types, #_perform_content_negotiation, #_provided_formats, #content_type, #content_type=, #does_not_provide, included, #only_provides, #provides
Methods inherited from AbstractController
#_absolute_template_location, #_call_action, #_call_filter_for_action?, #_call_filters, #_dispatch, #_evaluate_condition, #_filter_condition_met?, _reset_template_roots, _template_root=, _template_roots, _template_roots=, #absolute_url, after, before, #capture, #concat, #controller_name, controller_name, inherited, #initialize, #resource, skip_after, skip_before, subclasses_list, #url
Methods included from RenderMixin
#_get_layout, #_handle_options!, #_template_for, #_template_method_for, #append_content, #catch_content, #clear_content, #display, included, #partial, #render, #throw_content, #thrown_content?
Constructor Details
This class inherits a constructor from Merb::Controller
Instance Method Details
#_template_location(context, type = nil, controller = controller_name) ⇒ Object
:api: private
106 107 108 |
# File 'lib/merb-core/dispatch/default_exception/default_exception.rb', line 106 def _template_location(context, type = nil, controller = controller_name) "#{context}.#{type}" end |