diff options
author | Vitaly Takmazov | 2017-05-05 12:21:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-05-05 12:21:14 +0300 |
commit | 6ee1be48428ad6b83b22818984241aa8d85766bd (patch) | |
tree | 8b2090bbd808cf1226b9233cd15354be29425d5d | |
parent | 59d40ee85493beb04aaf4b861afc7c9f4d9e10a8 (diff) |
juick-www: fix comment redirect
-rw-r--r-- | juick-core/build.gradle | 2 | ||||
-rw-r--r-- | juick-server/build.gradle | 2 | ||||
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/NewMessage.java | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/juick-core/build.gradle b/juick-core/build.gradle index a31a52b0..986d5b48 100644 --- a/juick-core/build.gradle +++ b/juick-core/build.gradle @@ -1,4 +1,4 @@ -apply plugin: 'java' +apply plugin: 'java-library' apply plugin: 'com.github.ben-manes.versions' dependencies { diff --git a/juick-server/build.gradle b/juick-server/build.gradle index 3febf08f..5305e7dc 100644 --- a/juick-server/build.gradle +++ b/juick-server/build.gradle @@ -1,4 +1,4 @@ -apply plugin: 'java' +apply plugin: 'java-library' apply plugin: 'war' apply plugin: 'com.github.ben-manes.versions' diff --git a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java index d23544ba..4de4f5e9 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java +++ b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java @@ -317,7 +317,6 @@ public class NewMessage { } @PostMapping("/comment") - @ResponseBody public String doPostComment( @RequestParam(required = false, defaultValue = "0") Integer mid, @RequestParam(required = false, defaultValue = "0") Integer rid, |