DEV: adds a task action bypassing the modal

DEV: adds a task action bypassing the modal

diff --git a/assets/javascripts/discourse/services/task-actions.js.es6 b/assets/javascripts/discourse/services/task-actions.js.es6
index 81d0127..e1eaf48 100644
--- a/assets/javascripts/discourse/services/task-actions.js.es6
+++ b/assets/javascripts/discourse/services/task-actions.js.es6
@@ -16,5 +16,15 @@ export default Ember.Service.extend({
         username: topic.get("assigned_to_user.username")
       }
     });
+  },
+
+  assignUserToTopic(user, topic) {
+    return ajax("/assign/assign", {
+      type: "PUT",
+      data: {
+        username: user.username,
+        topic_id: topic.id
+      }
+    });
   }
 });

GitHub sha: c553c039