title: Routed feature module vs Routing feature module?
body: <p>Hope evrything is fine.</p>
  
  <p>I have laravel project.</p>
  
  <p>Here is the api.php :</p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Http\Request;
  Route::middleware('auth:api')-&gt;get('/user', function (Request $request) {
      return $request-&gt;user();
  });
  
  Route::middleware('cors:api')-&gt;get('/stores', function (Request $request, Response $response) {
      return App::make('App\Http\Controllers\ApiData')-&gt;{'GetStores'}();
  });
  
  Route::middleware('cors:api')-&gt;post('/RegisterLocation', function (Request $request, Response $response) {
      return App::make('App\Http\Controllers\ApiData')-&gt;{'RegisterLocation'}();
  });
  
  Route::middleware('cors:api')-&gt;post('/SearchPartner', function (Request $request, Response $response) {
      return App::make('App\Http\Controllers\ApiData')-&gt;{'SearchPartner'}();
  });
  </code></pre>
  
  <p>and here is the web.php </p>
  
  <pre><code>&lt;?php
  Route::get('/', function () {
     return view('welcome');
  });
  
  Route::get('/stores', function() {
      return App::make('App\Http\Controllers\UserController')-&gt;{'show'}();
  });
  </code></pre>
  
  <p>However evryrequest that I put in the url, it always redricet to index.php ?</p>