/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $org = Organization::find($id);
     return view('organizations.show', compact('org'));
 }
Example #2
0
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create(Request $request)
 {
     $org = Organization::find($request->get('org_id'));
     // TODO Test if authed user is in the org
     return view('projects.create', compact('org'));
 }