Skip to content

Commit

Permalink
Fixed redirect when “Component group” was deleted (#2130)
Browse files Browse the repository at this point in the history
  • Loading branch information
billmn authored and GrahamCampbell committed Oct 4, 2016
1 parent 555f852 commit ff84a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Dashboard/ComponentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function deleteComponentGroupAction(ComponentGroup $group)
{
dispatch(new RemoveComponentGroupCommand($group));

return Redirect::route('dashboard.components.index')
return Redirect::route('dashboard.components.groups')
->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.components.delete.success')));
}

Expand Down

0 comments on commit ff84a6d

Please sign in to comment.