1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 00:47:00 +02:00

Fix m.route that should be m.route.set

This commit is contained in:
Alexander Skvortsov
2020-08-15 19:39:52 -04:00
committed by Franz Liedke
parent 7beeae6269
commit 2186584878

View File

@@ -89,7 +89,7 @@ export default class EditPostComposer extends ComposerBody {
{
className: 'Button Button--link',
onclick: () => {
m.route(app.route.post(post));
m.route.set(app.route.post(post));
app.alerts.dismiss(alert);
},
},