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-in-laravel-4
I agree with you I just needed to figure out how they are calling this
{{Auth::user()->username}}
That is what i am tying to create something like that.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community