Okey, and can I do this for only one controller? I mean I dynamically change the view from a fix controllers fix action. And I would use the models without namespace only in this controller.
your view is not included in the controller's namespace. it just parses blade to html. So i don't think you can for just a single controller. alias is the easiest way
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community