Ignore:
Timestamp:
02/21/12 13:03:21 (13 years ago)
Author:
hendrikvanantwerpen
Message:
  • [Server] Added PUT support to API.
  • [Client] Extended questions page with Accordion and list with actions on each row.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/server/api.php

    r274 r275  
    142142    }
    143143
     144    function put($request) {
     145        return $this->post($request);
     146    }
     147   
    144148}
    145149
     
    171175    }
    172176
    173     function put($request) {
     177    function post($request) {
    174178        $response = new Response($request);
    175179        restore_session($response);
     
    204208        $response->body = $object;
    205209        return $response;
     210    }
     211
     212    function put($request) {
     213        return $this->post($request);
    206214    }
    207215
Note: See TracChangeset for help on using the changeset viewer.