Example #1
0
 /**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function add()
 {
     // Get all available point types
     $point_types = PointType::all();
     // Get all available story lines
     $story_lines = Storyline::all();
     return view('forms.modals.point_add', ['point_types' => $point_types, 'story_lines' => $story_lines]);
 }