From 573a272ff9bff0364a863c3babd2eb41c812324d Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 9 Feb 2018 17:23:20 +0100 Subject: [PATCH] Changes redirect path on create valuator group --- app/controllers/admin/valuator_groups_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/valuator_groups_controller.rb b/app/controllers/admin/valuator_groups_controller.rb index e3d032304..054fe15ce 100644 --- a/app/controllers/admin/valuator_groups_controller.rb +++ b/app/controllers/admin/valuator_groups_controller.rb @@ -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