Route cosmetic layout updates, and standardise on using /home to redirect back to the homescreen, and standardise usage of redirect()
This commit is contained in:
@@ -113,7 +113,7 @@ class ServiceController extends Controller
|
||||
$np->pivot->effective_at = Carbon::now();
|
||||
$np->pivot->save();
|
||||
|
||||
return redirect()->to(url('u/service',[$o->id]));
|
||||
return redirect(url('u/service',[$o->id]));
|
||||
}
|
||||
|
||||
return view('theme.backend.adminlte.service.change_pending')
|
||||
@@ -191,7 +191,7 @@ class ServiceController extends Controller
|
||||
|
||||
// An Error Condition
|
||||
if (is_null($result))
|
||||
return redirect()->to('u/service/'.$o->id);
|
||||
return redirect('u/service/'.$o->id);
|
||||
|
||||
elseif ($result instanceof RedirectResponse)
|
||||
return $result;
|
||||
@@ -213,7 +213,7 @@ class ServiceController extends Controller
|
||||
$stage = ''; // @todo this is temporary, we havent written the code to automatically jump to the next stage if wecan
|
||||
}
|
||||
|
||||
return redirect()->to('u/service/'.$o->id);
|
||||
return redirect('u/service/'.$o->id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user