Merge pull request #3678 from tgxworld/allow_admin_to_change_timestamp

FEATURE: Allow admin to change timestamp of topic.
This commit is contained in:
Sam
2015-08-21 10:34:37 +10:00
11 changed files with 257 additions and 0 deletions

View File

@ -469,6 +469,7 @@ Discourse::Application.routes.draw do
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+/}
put "t/:topic_id/change-timestamp" => "topics#change_timestamps", constraints: {topic_id: /\d+/}
delete "t/:topic_id/timings" => "topics#destroy_timings", constraints: {topic_id: /\d+/}
put "t/:topic_id/bookmark" => "topics#bookmark", constraints: {topic_id: /\d+/}
put "t/:topic_id/remove_bookmarks" => "topics#remove_bookmarks", constraints: {topic_id: /\d+/}