/**
* Shows all templates.
*
* @return \Illuminate\View\View
*/
public function index()
{
$templates = $this->templateRepository->getAll();
return view('admin.templates.listing', ['title' => Lang::get('templates.manage'), 'templates' => $templates->toJson()]);
}