app/controllers/federails/application_controller.rb in federails-0.1.0 vs app/controllers/federails/application_controller.rb in federails-0.2.0

- old
+ new

@@ -9,9 +9,13 @@ private def error_fallback(exception, fallback_message, status) message = exception&.message || fallback_message respond_to do |format| + format.jrd { head status } + format.xrd { head status } + format.activitypub { head status } + format.nodeinfo { head status } format.json { render json: { error: message }, status: status } format.html { raise exception } end end