This commit is contained in:
BoHung Chiu 2021-03-24 12:32:22 +08:00
parent b695423268
commit a4ee727b46
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class Admin::FaqsController < OrbitAdminController
@qa.create_user_id = current_user.id
@qa.update_user_id = current_user.id
@qa.save
redirect_to params['referer_url']
redirect_to admin_faqs_path#params['referer_url']
end
def edit
@ -51,7 +51,7 @@ class Admin::FaqsController < OrbitAdminController
@qa.update_attributes(create_params)
@qa.update_user_id = current_user.id
@qa.save
redirect_to params['referer_url']
redirect_to admin_faqs_path#params['referer_url']
end
def destroy