Sorry, wrong link. On Fri, Feb 5, 2016, at 15:33, nanaya wrote: > It's already doing exactly that. Check the respond_to[1] line at the top > of the controller and the corresponding views[2]. > > [1] > http://api.rubyonrails.org/classes/ActionController/MimeResponds.html#method-i-respond_to >
Should be http://api.rubyonrails.org/v4.1.6/classes/ActionController/MimeResponds/ClassMethods.html#method-i-respond_to > [2] https://github.com/sudharti/socify/blob/master/app/views/likes/ > -- 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+unsubscr...@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/1454654528.897193.512666010.0FFCCBD9%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.