arctushar
1 year ago

route showing strange

Posted 1 year ago by arctushar

My web. php in route have only below route

Route::get('/chart', function(){ return 'bangladehs'; });

It is going to loging page. But when I renamed chart to chart1 it is working fine.

My php artisan route:list showing as below

+--------+----------+----------+------+---------+--------------+
| Domain | Method   | URI      | Name | Action  | Middleware   |
+--------+----------+----------+------+---------+--------------+
|        | GET|HEAD | api/user |      | Closure | api,auth:api |
|        | GET|HEAD | chart    |      | Closure | web          |
+--------+----------+----------+------+---------+--------------+

Even I tried route:clear but still not solved.

NB: I have installed chartjs module.

Please sign in or create an account to participate in this conversation.