I'm not 100% sure what your needing to get back but i'm guessing not html data.
The use of Eloquent is separate from the view, you could just return json data and not a view you don't have to return html.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community