File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -308,8 +308,11 @@ public function xmlToPdf()
308308** Do not forget to write your route**
309309
310310``` php
311- Route::get('xml', 'ReportsController@xmlToPdf');
311+ Route::get('reports/ xml', 'ReportsController@xmlToPdf');
312312```
313+ and just run:
314+
315+ http://localhost:8000/reports/json
313316
314317** Note 3:**
315318
@@ -363,9 +366,13 @@ public function jsonToPdf()
363366** Do not forget to write your route**
364367
365368``` php
366- Route::get('json', 'ReportsController@jsonToPdf');
369+ Route::get('reports/ json', 'ReportsController@jsonToPdf');
367370```
368371
372+ and just run:
373+
374+ http://localhost:8000/reports/json
375+
369376** Note 4:**
370377
371378To use the example above you must copy the sample files located at:
You can’t perform that action at this time.
0 commit comments