diff options
Diffstat (limited to 'config/routes/admin.rb')
-rw-r--r-- | config/routes/admin.rb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb index e3b365ad276..dac1937b76a 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -38,14 +38,6 @@ namespace :admin do resources :abuse_reports, only: [:index, :destroy] resources :gitaly_servers, only: [:index] - namespace :serverless do - resources :domains, only: [:index, :create, :update, :destroy] do - member do - post '/verify', to: 'domains#verify' - end - end - end - resources :spam_logs, only: [:index, :destroy] do member do post :mark_as_ham @@ -69,6 +61,13 @@ namespace :admin do end end + resources :topics, only: [:index, :new, :create, :edit, :update] do + resource :avatar, controller: 'topics/avatars', only: [:destroy] + collection do + post :preview_markdown + end + end + resources :deploy_keys, only: [:index, :new, :create, :edit, :update, :destroy] resources :hooks, only: [:index, :create, :edit, :update, :destroy] do |