diff options
author | ThibG <thib@sitedethib.com> | 2020-04-20 18:25:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 18:25:18 +0200 |
commit | 60f8a63a76f7c866b5338c33a8b897ba022368ca (patch) | |
tree | b816c0e92ade09712e9bcce29716e762f38769c1 /config/routes.rb | |
parent | d5530827c984238f93100ee737ed209d61e316c0 (diff) | |
parent | 221ea4787fe0caf0f8a3238ab95e97aaac8fe360 (diff) |
Merge pull request #1320 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'config/routes.rb')
-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') |