Fix bug.
This commit is contained in:
parent
b695423268
commit
a4ee727b46
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue