[Rails] Re: Link_to _path instead of href?
It depends on what is defined in your routes.rb
If you defined the resource Post it shoul works
Otherwise, can you show us what is the error that is happening?
Regards,
---------------------------------
Felipe Lopes
Web Developer - Looking for a Rails remote mid position
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/T6vQVC38KsgJ.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home