ActionController::UnknownFormat

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ActionController::UnknownFormat

fugee ohu
ActionController::UnknownFormat
77 respond_to do |format|
78 format.json { render json: { message: "removed" }, status: :ok }

at the top of my controller i have
respond_to :html, :js, :json

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/76a8742e-307f-404b-8bcc-156e8ae3e078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.