Skip to content

How I am supposed to return the view in the controller? #142

Discussion options

You must be logged in to vote

All you need to do is make the method look like this where you return the view as a response.
Add this line of code before your method:
* @return \Illuminate\View\View

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@paras-malhotra
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by perisicnikola37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants