/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $templates = $this->template->all();
     return View::make('templates.index', compact('templates'));
 }
 /**
  * Display a listing of templates
  *
  * @return Response
  */
 public function index()
 {
     $templates = Template::all();
     return View::make('templates.index', compact('templates'));
 }