mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 16:02:46 +08:00
9dafbe47dc
We're expecting the page param to be something that neatly coerces into an integer. If we receive something like a nested parameter, this will blow up. (I'm sure there are other examples as well.) This commit falls back to a page value of 1 if the coercion fails. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |