Revision 69 hci/trunk/eneraptor-web-app/grails-app/controllers/com/eneraptor/hci/ChooseHwSetController.groovy
ChooseHwSetController.groovy | ||
---|---|---|
53 | 53 |
if(chosenHwSet) { |
54 | 54 |
session['hwSet'] = chosenHwSet |
55 | 55 |
flash.confirms = "<p>Changed current hardware set to " + chosenHwSet.name + "</p>" |
56 |
redirect(controller:'sysState',action:'main')
|
|
56 |
redirect(controller:params.ctrl,action:params.act)
|
|
57 | 57 |
return true |
58 | 58 |
} else { |
59 | 59 |
flash.errors = "<p>Could not change current hardware set (card). The ID specified is not valid!</p>" |
Also available in: Unified diff