Allow changing ownwership of posts by admins

This commit is contained in:
riking
2014-03-27 18:28:14 -07:00
parent 7a843d2ac2
commit 1540a3d5e5
22 changed files with 308 additions and 20 deletions

View File

@ -331,6 +331,7 @@ Discourse::Application.routes.draw do
post "t/:topic_id/invite" => "topics#invite", constraints: {topic_id: /\d+/}
post "t/:topic_id/move-posts" => "topics#move_posts", constraints: {topic_id: /\d+/}
post "t/:topic_id/merge-topic" => "topics#merge_topic", constraints: {topic_id: /\d+/}
post "t/:topic_id/change-owner" => "topics#change_post_owners", constraints: {topic_id: /\d+/}
delete "t/:topic_id/timings" => "topics#destroy_timings", constraints: {topic_id: /\d+/}
post "t/:topic_id/notifications" => "topics#set_notifications" , constraints: {topic_id: /\d+/}