- Upgrade to 7.x from 6.x #11

This commit is contained in:
Arno Kaimbacher 2021-05-25 14:15:02 +02:00
parent 4e44d9d996
commit bcbd05d7d8
29 changed files with 1289 additions and 647 deletions

View file

@ -31,7 +31,10 @@ class SitelinkController extends Controller
// }
// }, $years);
$this->ids = array();
return view('frontend.sitelink.index')->with(['years' => $this->years, 'documents' => $this->ids]);
return view(
'frontend.sitelink.index',
['years' => $this->years, 'documents' => $this->ids]
);
}
public function listDocs($year)
@ -63,8 +66,10 @@ class SitelinkController extends Controller
//$select->select('id');
//$this->ids = $select->pluck('id');
//return view('rdr.sitelink.index')->with(['years'=> $this->years,'ids'=> $this->ids]);
return view('frontend.sitelink.index')
->with(['years' => $this->years, 'documents' => $documents]);
return view(
'frontend.sitelink.index',
['years' => $this->years, 'documents' => $documents]
);
}
}
}