title: Laravel 5.4 Route [project.view] not defined
body: <p>Alrighty, so I have a page in which I load my projects for visitors to watch:</p>
  
  <pre><code>@extends('layouts.master')
  
  @section('title', 'Projects')
  
  @section('content')
      &lt;div class="container"&gt;
          &lt;div class="contact-wrapper "&gt;
              &lt;h1 class="text-center"&gt;Project overview&lt;/h1&gt;
              @foreach($projects as $project)
                  &lt;div class="col-md-4 no-padding"&gt;
                      &lt;div class="project-image col-md-12 no-padding"&gt;
                          &lt;a href="{{ route('project.view', $project-&gt;id) }}"&gt;
                              &lt;img src="{{ $project-&gt;image }}" class="col-md-12 image"&gt;
                              &lt;p class="image-text"&gt;
                                  {{ $project-&gt;title }}
                              &lt;/p&gt;
                          &lt;/a&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              @endforeach
          &lt;/div&gt;
      &lt;/div&gt;
  @stop
  </code></pre>
  
  <p>But I'll get the following error:</p>
  
  <pre><code>Route [project.view] not defined. (View: /home/vagrant/Code/test/resources/views/projects.blade.php)
  </code></pre>
  
  <p>While I defined it in my web.php route file as shown below</p>
  
  <pre><code>&lt;?php
  
  
  Auth::routes();
  
  
  Route::get('/', 'HomeController@welcome');
  
  
  Route::group(['middleware' =&gt; ['web']],  function() {
      Route::resource('user', 'UserController', ['only' =&gt; ['index', 'show']]);
      Route::resource('project', 'ProjectController', ['only' =&gt; ['index', 'show', 'view']]);
      Route::resource('blog', 'BlogController', ['only' =&gt; ['index', 'show']]);
      Route::resource('review', 'ReviewController', ['only' =&gt; ['index', 'show']]);
  });
  
  Route::group(['middleware' =&gt; ['auth']], function () {
      Route::resource('user', 'UserController', ['only' =&gt; ['store', 'update', 'destroy', 'create', 'edit', 'search', 'cms']]);
      Route::resource('project', 'ProjectController', ['only' =&gt; ['store', 'update', 'destroy', 'create', 'edit', 'search', 'cms']]);
      Route::resource('blog', 'BlogController', ['only' =&gt; ['store', 'update', 'destroy', 'create', 'edit', 'search', 'cms']]);
      Route::resource('review', 'ReviewController', ['only' =&gt; ['store', 'update', 'destroy','create', 'edit', 'search', 'cms']]);
      Route::get('/home', 'HomeController@index');
  });
  </code></pre>
  
  <p>and in my ProjectController.php I defined the function as shown below</p>
  
  <pre><code> public function view($id)
      {
  
          $projects = Project::findOrFail($id);
  
          $users = User::all();
  
          $userArray = [];
          foreach ($users as $user) {
              $userArray[$user-&gt;id] = $user-&gt;username;
          }
  
  
          return view('project.view', compact('projects', 'userArray'));
      }
  </code></pre>
  
  <p>I've read about how resource controller only can handle the standard Index/Show/Update etc etc function but how can I route this correctly so it'll just my function from the ProjectController?</p>
  
  <p>I have the views in the correct folder and I am 99% sure I have called them correctly. The path to the view is: resources/views/project/view.blade.php</p>
  
  <p>Thanks in advance!</p>