Show More
@@ -370,18 +370,18 b' def make_map(config):' | |||||
370 | action="new", conditions=dict(method=["GET"])) |
|
370 | action="new", conditions=dict(method=["GET"])) | |
371 | m.connect("formatted_new_notification", "/notifications/new.{format}", |
|
371 | m.connect("formatted_new_notification", "/notifications/new.{format}", | |
372 | action="new", conditions=dict(method=["GET"])) |
|
372 | action="new", conditions=dict(method=["GET"])) | |
373 | m.connect("/notification/{notification_id}", |
|
373 | m.connect("/notifications/{notification_id}", | |
374 | action="update", conditions=dict(method=["PUT"])) |
|
374 | action="update", conditions=dict(method=["PUT"])) | |
375 | m.connect("/notification/{notification_id}", |
|
375 | m.connect("/notifications/{notification_id}", | |
376 | action="delete", conditions=dict(method=["DELETE"])) |
|
376 | action="delete", conditions=dict(method=["DELETE"])) | |
377 | m.connect("edit_notification", "/notification/{notification_id}/edit", |
|
377 | m.connect("edit_notification", "/notifications/{notification_id}/edit", | |
378 | action="edit", conditions=dict(method=["GET"])) |
|
378 | action="edit", conditions=dict(method=["GET"])) | |
379 | m.connect("formatted_edit_notification", |
|
379 | m.connect("formatted_edit_notification", | |
380 | "/notification/{notification_id}.{format}/edit", |
|
380 | "/notifications/{notification_id}.{format}/edit", | |
381 | action="edit", conditions=dict(method=["GET"])) |
|
381 | action="edit", conditions=dict(method=["GET"])) | |
382 | m.connect("notification", "/notification/{notification_id}", |
|
382 | m.connect("notification", "/notifications/{notification_id}", | |
383 | action="show", conditions=dict(method=["GET"])) |
|
383 | action="show", conditions=dict(method=["GET"])) | |
384 | m.connect("formatted_notification", "/notification/{notification_id}.{format}", |
|
384 | m.connect("formatted_notification", "/notifications/{notification_id}.{format}", | |
385 | action="show", conditions=dict(method=["GET"])) |
|
385 | action="show", conditions=dict(method=["GET"])) | |
386 |
|
386 | |||
387 | #ADMIN GIST |
|
387 | #ADMIN GIST | |
@@ -393,24 +393,24 b' def make_map(config):' | |||||
393 | action="index", conditions=dict(method=["GET"])) |
|
393 | action="index", conditions=dict(method=["GET"])) | |
394 | m.connect("new_gist", "/gists/new", |
|
394 | m.connect("new_gist", "/gists/new", | |
395 | action="new", conditions=dict(method=["GET"])) |
|
395 | action="new", conditions=dict(method=["GET"])) | |
396 |
m.connect("formatted_new_gist", "/gists/new |
|
396 | m.connect("formatted_new_gist", "/gists/new.{format}", | |
397 | action="new", conditions=dict(method=["GET"])) |
|
397 | action="new", conditions=dict(method=["GET"])) | |
398 |
m.connect("formatted_gists", "/gists |
|
398 | m.connect("formatted_gists", "/gists.{format}", | |
399 | action="index", conditions=dict(method=["GET"])) |
|
399 | action="index", conditions=dict(method=["GET"])) | |
400 | m.connect("/gist/{gist_id}", |
|
400 | m.connect("/gists/{gist_id}", | |
401 | action="update", conditions=dict(method=["PUT"])) |
|
401 | action="update", conditions=dict(method=["PUT"])) | |
402 | m.connect("/gist/{gist_id}", |
|
402 | m.connect("/gists/{gist_id}", | |
403 | action="delete", conditions=dict(method=["DELETE"])) |
|
403 | action="delete", conditions=dict(method=["DELETE"])) | |
404 | m.connect("edit_gist", "/gist/{gist_id}/edit", |
|
404 | m.connect("edit_gist", "/gists/{gist_id}/edit", | |
405 | action="edit", conditions=dict(method=["GET"])) |
|
405 | action="edit", conditions=dict(method=["GET"])) | |
406 | m.connect("formatted_edit_gist", |
|
406 | m.connect("formatted_edit_gist", | |
407 | "/gist/{gist_id}/{format}/edit", |
|
407 | "/gists/{gist_id}/{format}/edit", | |
408 | action="edit", conditions=dict(method=["GET"])) |
|
408 | action="edit", conditions=dict(method=["GET"])) | |
409 | m.connect("gist", "/gist/{gist_id}", |
|
409 | m.connect("gist", "/gists/{gist_id}", | |
410 | action="show", conditions=dict(method=["GET"])) |
|
410 | action="show", conditions=dict(method=["GET"])) | |
411 | m.connect("formatted_gist", "/gist/{gist_id}/{format}", |
|
411 | m.connect("formatted_gist", "/gists/{gist_id}/{format}", | |
412 | action="show", conditions=dict(method=["GET"])) |
|
412 | action="show", conditions=dict(method=["GET"])) | |
413 | m.connect("formatted_gist_file", "/gist/{gist_id}/{format}/{revision}/{f_path:.*}", |
|
413 | m.connect("formatted_gist_file", "/gists/{gist_id}/{format}/{revision}/{f_path:.*}", | |
414 | action="show", conditions=dict(method=["GET"])) |
|
414 | action="show", conditions=dict(method=["GET"])) | |
415 |
|
415 | |||
416 | #ADMIN MAIN PAGES |
|
416 | #ADMIN MAIN PAGES |
General Comments 0
You need to be logged in to leave comments.
Login now