/**
  * Update the specified resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function update(UpdatePoliticRequest $request, $id)
 {
     $input = $request->all();
     $politics = politics::find($id);
     $politics->name = $input['name'];
     $politics->description = $input['description'];
     $politics->state = $input['state'];
     $politics->save();
     return redirect('admin/politics');
 }
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     politics::insert(['name' => 'Politica Reserva', 'description' => 'Las reservas se guardan durante 1 día', 'state' => 'Activo']);
     politics::insert(['name' => 'Cancelacion Evento', 'description' => 'Si el cantante no se muere ni se enferma y ya se vendieron tickets no se puede cancelar el evento', 'state' => 'Inactivo']);
 }