Ignore:
Timestamp:
09/28/12 08:08:47 (12 years ago)
Author:
nanardon
Message:

fix conflict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/NetZones.pm

    r1089 r1162  
    4141    $c->stash->{form} = $c->model('AttrForms', 'netzone', $c->stash->{netzone}); 
    4242    $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    } 
    4357} 
    4458 
Note: See TracChangeset for help on using the changeset viewer.