Redirect url with Variable in Laravel 5
<p>How to Redirect Url in following format:</p>

<p>My code: </p>

<pre><code>return Redirect::to('home/viewcustomer/$cusid')
    -&gt;with('status','success')
    -&gt;with('message','success');
</code></pre>

<p>Example :</p>

<p><code>home/viewcustomer/8</code></p>