app/controllers/simplificator_infrastructure/errors_controller.rb
# Returns the template for the status code that is associated to the current error.
# INCLUDING 'html' as type to force rendering of the html view.
Returns the template for the status code that is associated to the current error.
INCLUDING 'html' as type to force rendering of the html view.
Returns the template for the status code that is associated to the current error . INCLUDING ' html ' as type to force rendering of the html view .
def template_for_status_code
    if specific_error_template_exists?
      specific_template
    else
      generic_template
    end
  end
def template_for_status_code if specific_error_template_exists? specific_template else generic_template end end
Returns the template for the status code that is associated to the current error.
Returns the template for the status code that is associated to the current error .