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