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

robario opened this Issue Aug 1, 2013 · 0 comments


None yet
1 participant
Copy link

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 in 7c3878f Sep 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment