title: How to I redirect to this URL in laravel?
body: <p>Here is defined some of my routes:</p>
  
  <pre><code>Route::get('/success', function () {
       return view('dashboard/dashboard');
  
    });
  
   Route::get('/test/{id?}','TestController@parameter' );
  
   Route::get('/redd','TestController@redirectest' );
  </code></pre>
  
  <p>And here is the controller Method :  </p>
  
  <pre><code>public function redirectest(){
  
     return redirect()-&gt;route('dashboard.dashboard');
    }
  </code></pre>
  
  <p>Now I have two view named</p>
  
  <pre><code>       test.blade.php
         dashboard.blade.php  //In view/dashboard
  </code></pre>
  
  <p>Here is the test.blade.php view just have only a link to redirect to dashboard by controller method.</p>
  
  <pre><code> &lt;html&gt;
  
   &lt;body&gt;
      &lt;h2&gt;&lt;a href="/lvel/public/redd/"&gt;Click Me To Redirect to DashBoard&lt;/a&gt; 
      &lt;/h2&gt;
  
   &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>Now I want to do is simply redirect to the dashboard.blade.php when click on the view link in test.blade.php</p>
  
  <p>But I am getting</p>
  
  <pre><code>      Route [dashboard.dashboard] not defined
  </code></pre>
  
  <p>Please help how to define this route for this or what is the solution.
  I am new to Laravel.
  Thanks.</p>