REBELinBLUE\Deployer\Http\Controllers\Admin\TemplateController::index PHP Method

index() public method

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