Closed stantonwjones closed 12 years ago
add an eventer and corresponding accessor methods. should be able to support events like 'error', 'not found', '404', '500', 'render', and 'redirect' events.
Pass response object to controllers so that the router can be garbage collected faster
render event would handle writing to the response
basic controller events implemented. has default 404, error, and 500 events.
add an eventer and corresponding accessor methods. should be able to support events like 'error', 'not found', '404', '500', 'render', and 'redirect' events.
Pass response object to controllers so that the router can be garbage collected faster
render event would handle writing to the response