On Wednesday, February 3, 2016 at 11:42:08 PM UTC-5, nanaya wrote:
>
> Hi, 
>
> On Thu, Feb 4, 2016, at 04:53, fugee ohu wrote: 
> > > 
> > > 
> https://github.com/sudharti/socify/blob/master/app/views/shared/_actions.html.erb
>  
> > > 
> > 
> > Yikes, what does this mean? <%= render 'likes/form', likeable: resource 
> > %> 
> > 
>
>
> it means you need to read documentation: 
>
> http://api.rubyonrails.org/classes/ActionView/PartialRenderer.html


 The controller 
https://github.com/sudharti/socify/blob/master/app/controllers/likes_controller.rb
 
doesn't respond with any rendering I don't wanna redirect I just wanna 
change the like button to the  unlike button so how would i do that

-- 
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/576ef9ad-b4b7-4c39-8acb-540918944c8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to