Consolidate service resources into a top level services/ directory
This commit is contained in:
@@ -84,7 +84,8 @@ class ServiceController extends Controller
|
||||
return redirect()->to(url('u/service',[$o->id]));
|
||||
}
|
||||
|
||||
return view('a.service.change_pending')
|
||||
return view('service.change_pending')
|
||||
->with('breadcrumb',collect()->merge($o->account->breadcrumb))
|
||||
->with('o',$o);
|
||||
}
|
||||
|
||||
@@ -117,7 +118,7 @@ class ServiceController extends Controller
|
||||
return redirect('u/service/'.$o->id)->with('success','Cancellation lodged');
|
||||
}
|
||||
|
||||
return view('u.service.cancel_request')
|
||||
return view('service.cancel_request')
|
||||
->with('o',$o);
|
||||
}
|
||||
|
||||
@@ -220,7 +221,8 @@ class ServiceController extends Controller
|
||||
|
||||
switch (get_class($o->type)) {
|
||||
default:
|
||||
return view('u.service.change_request')
|
||||
return view('service.change_request')
|
||||
->with('breadcrumb',collect()->merge($o->account->breadcrumb))
|
||||
->with('o',$o);
|
||||
}
|
||||
}
|
||||
@@ -275,7 +277,7 @@ class ServiceController extends Controller
|
||||
->with(['service.account','registrar'])
|
||||
->get();
|
||||
|
||||
return view('r.service.domain.list')
|
||||
return view('service.domain.list')
|
||||
->with('o',$o);
|
||||
}
|
||||
|
||||
@@ -289,7 +291,20 @@ class ServiceController extends Controller
|
||||
->with(['service.account','service.product.type.supplied.supplier_detail.supplier','tld'])
|
||||
->get();
|
||||
|
||||
return view('r.service.email.list')
|
||||
return view('service.email.list')
|
||||
->with('o',$o);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return details on the users service
|
||||
*
|
||||
* @param Service $o
|
||||
* @return View
|
||||
*/
|
||||
public function home(Service $o): View
|
||||
{
|
||||
return View('service.home')
|
||||
->with('breadcrumb',collect()->merge($o->account->breadcrumb))
|
||||
->with('o',$o);
|
||||
}
|
||||
|
||||
@@ -303,7 +318,7 @@ class ServiceController extends Controller
|
||||
->with(['service.account','service.product.type.supplied.supplier_detail.supplier','tld'])
|
||||
->get();
|
||||
|
||||
return view('r.service.host.list')
|
||||
return view('service.host.list')
|
||||
->with('o',$o);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user