mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Directly call matching route instead of redirecting for themes
This commit is contained in:
parent
4b4deecf9c
commit
dc91d91c2e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue