mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-16 17:29:14 +00:00
Merge commit 'c9ea91f8683cd5c0cfac14071a17e3956ac6d3b0' into glitch-soc/merge-upstream
Conflicts: - `spec/requests/api/v1/timelines/tag_spec.rb`: Upstream refactored this file, while we had a change to switch a default setting. Updated as upstream did. - `spec/views/statuses/show.html.haml_spec.rb`: Upstream refactored this file, while we stubbed different methods. Updated as upstream did, and updated the stubs accordingly.
This commit is contained in:
@@ -346,7 +346,7 @@ namespace :api, format: false do
|
||||
end
|
||||
|
||||
namespace :v2_alpha do
|
||||
resources :notifications, only: [:index, :show] do
|
||||
resources :notifications, param: :group_key, only: [:index, :show] do
|
||||
collection do
|
||||
post :clear
|
||||
get :unread_count
|
||||
@@ -355,6 +355,8 @@ namespace :api, format: false do
|
||||
member do
|
||||
post :dismiss
|
||||
end
|
||||
|
||||
resources :accounts, only: [:index], module: :notifications
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user