title: Success message is not showing after submitting form
body: <p><strong>Laravel Controller</strong>
  my insert data method in controller</p>
  <pre><code>$category = array(
     'name' =&gt; $request-&gt;name,
     'code' =&gt; $request-&gt;code,
     'image' =&gt; $image_name
  );
       Category::create($category,$image_name);
  
              return Redirect::to('/category')-&gt;with('success','Record 
                    inserted successfully');
  </code></pre>
  <p><strong>laravel view</strong>
  index view where I want to display message</p>
  <pre><code>             @if($message = Session::get('success'))
                             &lt;div class=&quot;alert alert-success&quot;&gt;
                               &lt;p&gt;{{$message}}&lt;/p&gt;
                            &lt;/div&gt;
                @endif
  </code></pre>
  <p><strong>Route.php</strong>
  Route::resource('/category', 'CategoryController');</p>