Пример #1
0
 /**
  * Remove the specified event from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     \asb\Event::destroy($id);
     return Redirect::route('events.index');
 }
 /**
  * Remove the specified event from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     if (!Sentry::getUser()) {
         return Redirect::route('sessions.create');
     }
     \asb\Event::destroy($id);
     return Redirect::route('events.index');
 }