public function storeMeeting() { $advisor = Auth::user(); $day = Day::find(Input::get('day_id')); // If form validation passes: $meeting = new Meeting(); $meeting->title = Input::get('title'); if (Input::get('notes')) { $meeting->notes = Input::get('notes'); } $meeting->save(); $meeting->days()->save($day); $advisor->meetings()->save($meeting); return Redirect::attempt('advisor.dashboard'); }