mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:51:36 +08:00
9db83c37e4
* FIX: When creating new message via URL do not redirect If a user clicks on `/new-message` route from inside the instance we're redirecting the user to `/latest` page which is only intended if the user is coming from an external site. This commit checks for this condition and only redirects when user is coming from external source. This also makes the behavior consistent with `new-topic` route. Internal topic reference: `/t/-/129523/` |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |