/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Version::find($id)->delete();
     return redirect('versions');
 }
 public function version()
 {
     $version = Version::find(1)->first();
     return response()->json(['version' => $version], 200);
 }