- Timestamp:
- 09/28/12 08:08:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/NetZones.pm
r1089 r1162 41 41 $c->stash->{form} = $c->model('AttrForms', 'netzone', $c->stash->{netzone}); 42 42 $c->stash->{form}->set_attrs; 43 44 if ($c->req->param('make_active')) { 45 $c->stash->{netzone}->set_c_fields('exported' => 1); 46 $base->commit; 47 } 48 if ($c->req->param('make_inactive')) { 49 $c->stash->{netzone}->set_c_fields('exported' => 0); 50 $base->commit; 51 } 52 if ($c->req->param('delete')) { 53 $base->delete_object('netzone', $netzonename); 54 $base->commit; 55 $c->res->redirect('/netzones'); 56 } 43 57 } 44 58
Note: See TracChangeset
for help on using the changeset viewer.