mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Added API for single notification dismissal (#2251)
* Added API backend for notification dismissal * Added render statement * Changed statement
This commit is contained in:
@@ -148,6 +148,7 @@ Rails.application.routes.draw do
|
||||
resources :notifications, only: [:index, :show] do
|
||||
collection do
|
||||
post :clear
|
||||
post :dismiss
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user