Redirect user to edit_user_theme_path after deletion

This commit is contained in:
Andreas Nedbal 2020-05-06 22:19:30 +02:00
parent 83f51b6422
commit 928eeb28f3
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class UserController < ApplicationController
def delete_theme
current_user.theme.destroy!
redirect_to edit_user_profile_path
redirect_to edit_user_theme_path
end
def update_theme