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 ...@@ -133,6 +133,9 @@ Rails.application.routes.draw do
get :kill get :kill
end end
end end
# Notification settings
resources :notification_settings, only: [:create, :update]
end end
concern :clusterable do concern :clusterable do
...@@ -181,9 +184,6 @@ Rails.application.routes.draw do ...@@ -181,9 +184,6 @@ Rails.application.routes.draw do
# Spam reports # Spam reports
resources :abuse_reports, only: [:new, :create] resources :abuse_reports, only: [:new, :create]
# Notification settings
resources :notification_settings, only: [:create, :update]
resources :groups, only: [:index, :new, :create] do resources :groups, only: [:index, :new, :create] do
post :preview_markdown post :preview_markdown
end 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