Skip to content

Instantly share code, notes, and snippets.

@Fustrate
Created September 13, 2011 04:08
Show Gist options
  • Save Fustrate/1213095 to your computer and use it in GitHub Desktop.
Save Fustrate/1213095 to your computer and use it in GitHub Desktop.
configuration:
identifier: com.fustrate.tasks
controller: Tasks_Module
routes:
tasks:
visible: Yes
title: tasks
routes:
main:
method: mainAction
visible: True
title: tasks_main
default: True
new:
method: newAction
visible: True
title: tasks_new
resource: com.fustrate.tasks:edit
history:
method: historyAction
visible: True
title: tasks_history
save:
method: saveAction
visible: False
resource: com.fustrate.tasks:edit
delete:
method: deleteAction
visible: False
resource: com.fustrate.tasks:delete
complete:
method: completeAction
visible: False
resource: com.fustrate.tasks:edit
view:
method: viewAction
visible: False
edit:
method: editAction
visible: False
resource: com.fustrate.tasks:edit
'*':
method: mainAction
visible: False
saveAs: name # Save this catchall'd URL piece as a $_GET variable named "name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment