Commit ecf2ac10 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Move notification_settings route under - scope

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent e4e69acb
......@@ -133,6 +133,9 @@ Rails.application.routes.draw do
get :kill
end
end
# Notification settings
resources :notification_settings, only: [:create, :update]
end
concern :clusterable do
......@@ -181,9 +184,6 @@ Rails.application.routes.draw do
# Spam reports
resources :abuse_reports, only: [:new, :create]
# Notification settings
resources :notification_settings, only: [:create, :update]
resources :groups, only: [:index, :new, :create] do
post :preview_markdown
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment