Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Gareth Redfern36,217 Points
Nested CRUD with Laravel 4 Questions
The method to show a edit form is called __ and the method to save our changes to that data is called __.
I don't understand what this question is asking is it talking about the methods PUT and POST, I have tried that and its not correct?
Chris Shaw26,650 Points
The question is referring to the controller itself not the
_method in the form, for instance if I wanted the index for all my todo lists I would want the
Hope that helps.
thanks Gareth, got it !! The question should be
The method to show a edit form is called ___ and the method used to save the changes to the same edit(ed) form is called ___
Nestor Mata Cuthbert9,088 Points
I was stock with this question as well, I was trying several things, the problem is that the question is not clear enough.
I recommend updating the question for future students.
Maybe adding something like
"What controller method..."
I still don't get it
The method to show a edit form is called ? --it is a Get method and the function in the controller is called edit
and the method to save our changes to that data is called? --its a Post method and the function in the controller is called store.
Can anyone clarify or rephrase the question please?