/**
  * Show the form for editing the specified resource.
  *
  * @param Organization $org
  * @param Gym $gym 
  * @return \Illuminate\Http\Response
  */
 public function edit(Gym $gym)
 {
     //
     $permissions = GymPermission::lists('name', 'id');
     return view('gyms/edit')->with(['gym' => $gym, 'perms' => $permissions]);
 }
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $p = GymPermission::create(['name' => 'Event management', 'description' => 'Can create and edit event details']);
     $p = GymPermission::create(['name' => 'Member management', 'description' => 'Can register new members']);
     $p = GymPermission::create(['name' => 'Front Door privalege', 'description' => 'Can lock the front door']);
 }