Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write the pre and post processing in each action #16

Closed
robario opened this issue Aug 1, 2013 · 0 comments
Closed

write the pre and post processing in each action #16

robario opened this issue Aug 1, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@robario
Copy link
Owner

robario commented Aug 1, 2013

In some cases, there are common pre and post processing for each request method.
Currently, there is a need to write it as below.

action process => {
    GET    => sub { "PRE"; "X"; "POST"; },
    PUT    => sub { "PRE"; "Y"; "POST"; },
    DELETE => sub { "PRE"; "Z"; "POST"; },
};
@ghost ghost assigned robario Aug 1, 2013
@robario robario closed this as completed in 7c3878f Sep 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant