Esempio n. 1
0
 public function addevent()
 {
     $data = Input::all();
     $data['society_id'] = Society::where('username', Session::get('username'))->first()->id;
     $event = Event::createEvent($data);
     Session::put('event_id', $event->id);
     return Redirect::route('add_question')->with('message', 'Event Successfully Created');
 }