Example #1
0
 public function index()
 {
     $data['paragraphs'] = Paragraph::where('type', 'PM')->get();
     return view('project.project', $data);
 }
Example #2
0
 /**
  * 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);
 }
Example #3
0
 public function index()
 {
     $data['paragraphs'] = Paragraph::where('type', 'PL')->get();
     return view('legal.legal', $data);
 }