'register' closure for custom verbs #21

merged 2 commits into from Jan 12, 2012


None yet

3 participants

chochos commented Nov 29, 2011

I just found out RatPack doesn't really support custom verbs, so I fixed it by adding a register closure that calls the proper register method in RatPackApp.groovy.


Puedes ahorrar las lineas 65..71 con esto:

binding.setVariable('register', app.&register)

@Vossy Vossy merged commit e1d8b1a into bleedingwolf:master Jan 12, 2012
Vossy commented Jan 12, 2012

Thanks for this, sorry it took so long to get it merged in.

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