title: Laravel 5.4 Does not return to page after updating database
body: <p>when i updated database, my return page doesnt open.. it jamming on transaction page..</p>
  
  <p>settings.blade.php;</p>
  
  <pre><code>&lt;form action="{{url('/admin/save-settings')}}" method="post"&gt;
  
  {{csrf_field()}}
  
  @if (is_array($settings) || is_object($settings))
  
  @foreach($settings as $setting)
  
  .
  .
  .
  
  @endforeach
  @endif
  
  &lt;/form&gt;
  </code></pre>
  
  <p>Route; (under admin prefix)</p>
  
  <pre><code>Route::post('/save-settings','AdminController@postSavesettings');
  });
  </code></pre>
  
  <p>and Controller;</p>
  
  <pre><code>public function postSavesettings(Request $mainsetdata)
  {
      unset($mainsetdata['_token']);
      $settings=Settings::where('id',1)-&gt;update($mainsetdata-&gt;all());
  
      return view('back.settings')-&gt;with('settings',$settings);
  
  }
  </code></pre>
  
  <p>Where do i make mistake ?</p>