Changes redirect path on create valuator group

This commit is contained in:
decabeza
2018-02-09 17:23:20 +01:00
committed by rgarcia
parent d7c822c61a
commit 573a272ff9

View File

@@ -20,7 +20,7 @@ class Admin::ValuatorGroupsController < Admin::BaseController
@group = ValuatorGroup.new(group_params)
if @group.save
notice = t("user_group.notice.created")
redirect_to [:admin, @group], notice: notice
redirect_to admin_valuator_groups_path, notice: notice
else
render :new
end