jcline / fedora-hubs

Forked from fedora-hubs 7 years ago
Clone

961115e Use a single hub_edit endpoint for both GET and POST requests

Authored and Committed by pingou 8 years ago
    Use a single hub_edit endpoint for both GET and POST requests
    
    Somehow, the approach of splitting hub_edit into hub_edit_get and
    hub_edit_post one accepted GET only and the other POST only did not
    work (while it does for editing widget). I am not sure why.
    This commit move to use a single endpoint for both GET and POST but
    the logic remain split into two different methods.
    
        
file modified
+9 -5
file modified
+2 -2