Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'master' of github.com:spud-grails/spud-cms
Browse files Browse the repository at this point in the history
  • Loading branch information
davydotcom committed Sep 16, 2015
2 parents 891ec48 + 3870be1 commit 4731f5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/controllers/spud/admin/MenuItemsController.groovy
Expand Up @@ -121,8 +121,8 @@ class MenuItemsController {
if(!menuItem) {
return
}

menuItem.delete()
menu.removeFromMenuItemsCombined(menuItem)
menuItem.delete(flush:true)
flash.notice = "Menu Item Removed Successfully!"
redirect resource: 'menus/menuItems', action: 'index', menusId: menu.id, namespace: 'spud_admin'
}
Expand Down

0 comments on commit 4731f5f

Please sign in to comment.