public function insert() { $respuesta = Agencia::agregar(Input::all()); if ($respuesta['error'] == true) { return Redirect::to('agencia/add.html')->withErrors($respuesta['mensaje'])->withInput(); } else { return Redirect::to('agencias')->with('mensaje', $respuesta['mensaje']); } }