original_string: protected function redirectAfterUpdate()
      {
          merchant_toastr(trans('merchant.update_succeeded'));
  
          $url = Input::get(Builder::PREVIOUS_URL_KEY) ?: $this->resource(-1);
  
          return redirect($url);
      }
code: protected function redirectAfterUpdate()
      {
          merchant_toastr(trans('merchant.update_succeeded'));
  
          $url = Input::get(Builder::PREVIOUS_URL_KEY) ?: $this->resource(-1);
  
          return redirect($url);
      }
code_tokens: protected function redirectAfterUpdate ( ) { merchant_toastr ( trans ( 'merchant.update_succeeded' ) ) ; $ url = Input :: get ( Builder :: PREVIOUS_URL_KEY ) ? : $ this -> resource ( - 1 ) ; return redirect ( $ url ) ; }
docstring: Get RedirectResponse after update.
  
  @return \Illuminate\Http\RedirectResponse
docstring_tokens: Get RedirectResponse after update .