mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 07:39:39 +02:00
Simplify self host settings controller (#1230)
This commit is contained in:
parent
cb75c537fe
commit
7fabca4679
22 changed files with 252 additions and 399 deletions
|
@ -16,9 +16,7 @@ Rails.application.routes.draw do
|
|||
namespace :settings do
|
||||
resource :profile, only: %i[show update destroy]
|
||||
resource :preferences, only: %i[show update]
|
||||
resource :hosting, only: %i[show update] do
|
||||
post :send_test_email, on: :collection
|
||||
end
|
||||
resource :hosting, only: %i[show update]
|
||||
end
|
||||
|
||||
resources :tags, except: %i[show destroy] do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue