I want to build a link in my view that refers to the same page like that one where its placed on. And I want to be able to give a parameter with.
For example I want to change languages. I have a route like
domain.com/{lang}/xyz
And in my view I want to do something like
<a href="{{ URL::action(this, ['lang' => 'en']) }}">EN</a>
So I can easily reload the page but just change the "lang" parameter.
Hopefully its understandable. Please try to help me.
(Another side question: Are there no ressources eg a list of all view helpers in Laravel? where do i know which viewhelpers are available?)