0
How can I identify which método who is calling the view within itself?
Example:
Indexcontroller.php
public function create() {
    return view('index');
}
Inside the archive view/index.blade.php how do I return the method you called, in this example I want to return create or create().
I don’t understand????
– novic
I edited the publication exemplifying for a better understanding
– Fernando Friedrich