Give regular users a delete button. If they click it, their post will be revised to

say it was deleted.
This commit is contained in:
Robin Ward
2013-02-07 15:12:55 -05:00
parent af11547108
commit 084a873b91
16 changed files with 183 additions and 34 deletions

View File

@@ -831,6 +831,7 @@ en:
reply_as_new_topic: "Reply as new Topic"
continue_discussion: "Continuing the discussion from {{postLink}}:"
follow_quote: "go to the quoted post"
deleted_by_author: "Post deleted by author."
has_replies_below:
one: "Reply Below"

View File

@@ -103,6 +103,7 @@ Discourse::Application.routes.draw do
get 'versions'
put 'bookmark'
get 'replies'
put 'recover'
collection do
delete 'destroy_many'
end