Commit 7a0d9efe authored by Nick Poulden's avatar Nick Poulden
Browse files

Comment URL updates

parent ea574d01
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -162,12 +162,12 @@ exports.sendEmailUpdates = function(comment) {
                to: subscription.email,
                subject: "Comment on '" + comment.title + "'",
                text: [
                    "A comment on '" + comment.title + "' was posted on the Sencha Documentation:\n",
                    "A comment by " + comment.author + " on '" + comment.title + "' was posted on the Sencha Documentation:\n",
                    comment.content + "\n",
                    "--",
                    "Original thread: " + comment.url,
                    "Unsubscribe from this thread: http://docs.sencha.com/auth/unsubscribe/" + subscription._id,
                    "Unsubscribe from all threads: http://docs.sencha.com/auth/unsubscribe/" + subscription._id + '?all=true'
                    "Unsubscribe from this thread: http://projects.sencha.com/auth/unsubscribe/" + subscription._id,
                    "Unsubscribe from all threads: http://projects.sencha.com/auth/unsubscribe/" + subscription._id + '?all=true'
                ].join("\n")
            }

+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ Ext.define('Docs.controller.Comments', {
        }
        postButton.addCls('disabled');

        var url = "http://" + window.location.host + '/' + window.location.pathname + target[1],
        var url = "http://" + window.location.host + window.location.pathname + target[1],
            title = target[1],
            urlPrefix = '#!/api/';