Ruby on Rails Thursday, September 13, 2018


You can leave the instance level one it will work fine.

On Fri, Sep 14, 2018 at 12:37 AM fugee ohu <fugee279@gmail.com> wrote:
respond_to :js, only: :videochat

  def videochat
    respond_to do |format|
        format.js
    end
  end

ActionController::UnknownFormat in ConversationsController#videochat
ActionController::UnknownFormat

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b2b3ee36-f820-41e0-99df-032f7ace16fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJ6MPzLwj4TbENUnBL7_oYufPDbEdJ4bA1gwH4fxo-0XQpa6vQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment