Directly call matching route instead of redirecting for themes
This commit is contained in:
parent
4b4deecf9c
commit
dc91d91c2e
|
@ -41,6 +41,6 @@ class Settings::ThemeController < ApplicationController
|
|||
|
||||
def destroy
|
||||
current_user.theme.destroy!
|
||||
redirect_to settings_theme_path
|
||||
redirect_to edit_settings_theme_path
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue