public function index() { $data['paragraphs'] = Paragraph::where('type', 'PM')->get(); return view('project.project', $data); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $data['paragraphs'] = DB::table('paragraph')->where('type', 'P')->get(); $data['rows'] = Paragraph::where('type', 'R')->get(); return view('index', $data); }
public function index() { $data['paragraphs'] = Paragraph::where('type', 'PL')->get(); return view('legal.legal', $data); }