Skip to content

Commit

Permalink
do regular redirect on delete post
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Jan 17, 2024
1 parent 0c58365 commit 80f6276
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions applications/community.moon
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,7 @@ class CommunityApplication extends lapis.Application
else
@post\get_topic!

json: {
success: true
redirect_to: @url_for target
}

redirect_to: @url_for target
}

[post_in_topic: "/post/:post_id/view-in-topic"]: capture_errors {
Expand Down

0 comments on commit 80f6276

Please sign in to comment.