/** * Show details of a specific parameter. */ public function show($id) { $parameter = astParameterModel::findOrFail($id); $templates = astParameterModel::parameterToTemplates($parameter); return View::make('ast.astParameters.show')->with('parameter', $parameter)->with('templates', $templates); }