Changeset 1667

Show
Ignore:
Timestamp:
11/12/08 17:35:27 (2 months ago)
Author:
ton
Message:

Another location with old definition for serialization

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/DEV-opsview3/opsview-web/lib/Opsview/Web/Controller/Api/Status.pm

    r1650 r1667  
    2525use base qw/Catalyst::Controller::REST/; 
    2626 
    27 __PACKAGE__->config( serialize => { 
     27__PACKAGE__->config(  
    2828        default => 'application/json', 
    2929        map => { 
    3030                'text/xml' => "XML::Status", 
    3131                'application/json' => "JSON", 
    32         } 
    33 } ); 
     32        }, 
     33); 
    3434 
    3535# This handles the authentication for the status API