mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
See coderview https://github.com/Freika/dawarich/pull/548
This commit is contained in:
parent
4ece5cb4a5
commit
aa497a050d
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class NotificationsController < ApplicationController
|
|||
|
||||
|
||||
def destroy_all
|
||||
current_user.notifications.delete_all()
|
||||
current_user.notifications.destroy_all
|
||||
redirect_to notifications_url, notice: 'All notifications where successfully destroyed.', status: :see_other
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue