Changes redirect path on create valuator group
This commit is contained in:
@@ -20,7 +20,7 @@ class Admin::ValuatorGroupsController < Admin::BaseController
|
|||||||
@group = ValuatorGroup.new(group_params)
|
@group = ValuatorGroup.new(group_params)
|
||||||
if @group.save
|
if @group.save
|
||||||
notice = t("user_group.notice.created")
|
notice = t("user_group.notice.created")
|
||||||
redirect_to [:admin, @group], notice: notice
|
redirect_to admin_valuator_groups_path, notice: notice
|
||||||
else
|
else
|
||||||
render :new
|
render :new
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user