it won't work like that, ajax requests and http requests are handled differently by the browser. simply remove the ajax part completely, and change the link to this
<a href="news/test?file_path={{ url_encode($row->file_path) }}"><i class="fa fa-file-pdf-o"></i></a>
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community