public function edit($id) { $view = Auth::user()->getView(); $resolutions = Resolution::all(); $files = File::all(); $fileTypes = Filetype::all(); $viabilities = Viability::all(); $entities = Entity::getEntities(); $concession = Concession::findOrFail($id); return view('concessions.edit', compact('resolutions', 'files', 'fileTypes', 'viabilities', 'concession', 'view', 'entities')); }
public function index() { $view = Auth::user()->getView(); $fileTypes = Filetype::all(); return view('fileTypes.index', compact('fileTypes', 'view')); }