Polymorphic Routes - Ryan Bigg
14-Dec-2018 2551
What this would do is dutifully redirect to the show action inside the PostsController and pass along the id parameter with a value of whatever @post.id returns. Typical 302 response.
Polymorphic Routes - Ryan Bigg #ruby #rubydeveloper #rubyonrails #Polymorphic #Routes https://rubyonrails.ba/link/polymorphic-routes-ryan-bigg