Method: Elabs::Member::NotificationsController#destroy

Defined in:
app/controllers/elabs/member/notifications_controller.rb

#destroyObject

DELETE /notifications/1



17
18
19
20
# File 'app/controllers/elabs/member/notifications_controller.rb', line 17

def destroy
  @notification.destroy
  redirect_to member_notifications_url, notice: _('Notification was successfully destroyed.')
end