discourse/discourse — pull request #2147 by vikhyat (2014-03-19 08:05:17+00:00)
Title: Route `serialize` hook argument is the model, not params

I changed the name of the argument to the `serialize` hook from `params` to `model` in the two places it was incorrectly named.

Calling it `params` is super confusing since the _second_ argument to the `serialize` hook is `params`, an array of dynamic segment names.