diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-04-20 16:45:40 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-04-20 16:45:40 +0200 |
commit | 63dc7cfa904d83b92151597aa745963996a9c926 (patch) | |
tree | 1cf2d3225374c6d8f55bcf1c36f0b4ce5aee0911 /config | |
parent | d5530827c984238f93100ee737ed209d61e316c0 (diff) | |
parent | f2cf91277119c63044bdd45e599f37dc829b6eb2 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 450d3222f..2ebe12f5c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -100,7 +100,9 @@ Rails.application.routes.draw do get '/settings', to: redirect('/settings/profile') namespace :settings do - resource :profile, only: [:show, :update] + resource :profile, only: [:show, :update] do + resources :pictures, only: :destroy + end get :preferences, to: redirect('/settings/preferences/appearance') |