/**
  * Update the specified resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function update(UpdateRoleRequest $request, $id)
 {
     $result = $this->role->updateRole($request);
     if (!$result) {
         return redirect()->back()->with('status', 'update-error');
     }
     return redirect()->back()->with('status', 'update-success');
 }