title: New Laravel Routes not working
body: <p>I have a problem, new routes in laravel are not working, url shows the correct route but almost as if it does not get to my routes web file just returns <strong>page not found</strong> every time.</p>
  
  <p>I have tried:
  using <strong>named route</strong>,
  moving function to <strong>different controller</strong>,
  clearing <strong>route cache</strong>,
  clearing <strong>app cache</strong>,
  <strong>dump-auto load</strong>,
  made sure that <strong>AllowOverride</strong> is set to <strong>All</strong>,</p>
  
  <p>Web.php:</p>
  
  <pre><code>    &lt;?php
  
  /*
  |--------------------------------------------------------------------------
  | Web Routes
  |--------------------------------------------------------------------------
  |
  | Here is where you can register web routes for your application. These
  | routes are loaded by the RouteServiceProvider within a group which
  | contains the "web" middleware group. Now create something great!
  |
  */
  
  Route::get('/', function () {
      return view('welcome');
  });
  
  Auth::routes();
  
  Route::get('/home', 'HomeController@index')-&gt;name('home');
  
  /*
  |--------------------------------------------------------------------------
  | Courses
  |--------------------------------------------------------------------------
  */
  Route::get('/courses', 'CourseController@index');
  Route::get('/courses/create', 'CourseController@create');
  Route::get('/courses/{course}', 'CourseController@show');
  Route::get('/courses/{course}/edit', 'CourseController@edit');
  Route::post('/courses', 'CourseController@store');
  Route::patch('/courses/{course}', 'CourseController@update');
  Route::delete('/courses/{course}', 'CourseController@destroy')-&gt;name('course-delete');
  
  Route::get('/courses/statistics', 'CourseController@statistics');
  
  /*
  |--------------------------------------------------------------------------
  | First Aid
  |--------------------------------------------------------------------------
  */
  Route::get('/section/{section}', 'SectionController@show');
  
  
  /*
  |--------------------------------------------------------------------------
  | First Aid
  |--------------------------------------------------------------------------
  */
  Route::get('/progress', 'UserProgressController@index');
  Route::get('/progress/create', 'UserProgressController@create');
  Route::get('/progress/{section}', 'UserProgressController@show');
  Route::get('/progress/formativeresults', 'UserProgressController@formativeresults');
  //Route::get('/progress/coursestatistics', 'UserProgressController@coursestatistics');
  //Route::get('/progress/{progress}/edit', 'UserProgressController@edit');
  Route::post('/progress', 'UserProgressController@store');
  //Route::patch('/progress/{progress}', 'UserProgressController@update');
  //Route::delete('/progress/{progress}', 'UserProgressController@destroy')-&gt;name('progress-delete');
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public function statistics()
      {
          dd('Test');
         return view('coursestatistics');
      }
  </code></pre>
  
  <p>View file name:
  <strong>coursestatistics.blade.php</strong> file structure views/coursestatistics</p>
  
  <p>Link to page:</p>
  
  <pre><code>&lt;a class="navbar-brand" href="/courses/statistics"&gt;
     {{ __('Statistics') }}
  &lt;/a&gt;
  </code></pre>
  
  <p>Can anyone tell me what might be causing route not to work?</p>