KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am new to Rails. I found it very strange when I use the resources in routes.rb, after I redirect the page to controller/index, it render the controller/show . I know GET controller/action is same as match "controller/action", :to => "controller/action" I think the strange thing happens to me about the redirect, is similar to the GET and Match. so I wonder what exactly the resources mean, can I use some simple match do the same thing?
Tags (comma-separated)
Save Edits
Cancel