pass URL params on to server in edit and detail views