There is no nice way to do this, and it really shouldn't be. Calling a controller method from a view is in almost all cases the wrong approach.
If you explain what you are trying to accomplish instead we might help you to solve your problem in a better way.
If you absolutely must do this, take a look at this: http://stackoverflow.com/questions/15205239/call-a-controller-...
I agree with you I just needed to figure out how they are calling this
That is what i am tying to create something like that.
The original approach was wrong. I figured it out.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.