Update route definitions for theme actions
This commit is contained in:
parent
4e363bb794
commit
60b189959a
|
@ -65,9 +65,9 @@ Rails.application.routes.draw do
|
|||
match '/settings/profile', to: 'user#update', via: 'patch', as: :update_user_profile
|
||||
match '/settings/profile_info', to: 'user#update_profile', via: 'patch', as: :update_user_profile_info
|
||||
|
||||
match '/settings/theme', to: 'user#edit_theme', via: 'get', as: :edit_user_theme
|
||||
match '/settings/theme', to: 'user#update_theme', via: 'patch', as: :update_user_theme
|
||||
match '/settings/theme/delete', to: 'user#delete_theme', via: 'delete', as: :delete_user_theme
|
||||
match '/settings/theme', to: 'settings/theme#edit', via: 'get', as: :edit_user_theme
|
||||
match '/settings/theme', to: 'settings/theme#update', via: 'patch', as: :update_user_theme
|
||||
match '/settings/theme/delete', to: 'settings/theme#destroy', via: 'delete', as: :delete_user_theme
|
||||
|
||||
match '/settings/security', to: 'user#edit_security', via: :get, as: :edit_user_security
|
||||
match '/settings/security/2fa', to: 'user#update_2fa', via: :patch, as: :update_user_2fa
|
||||
|
|
Loading…
Reference in New Issue