Closed matryer closed 10 years ago
This is a great solution. Although with this change I'll have to manually set UpdateMany to PUT since there is no ReplaceMany (which is what I really need). At least it's only one line of code though.
It seems to not be calling Before() before Update()
Can you prove that with a test?
What does your Before mapping code look like?
On 18 Oct 2013, at 15:10, Justin Ruggles notifications@github.com wrote:
It seems to not be calling Before() before Update()
— Reply to this email directly or view it on GitHub.
Sorry, I think it was an unrelated bug on my end that kept me from seeing my log messages in Before().
also see https://github.com/stretchr/goweb/wiki/Using-different-HTTP-Methods-when-mapping-controllers