aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-05-05 12:21:14 +0300
committerGravatar Vitaly Takmazov2017-05-05 12:21:14 +0300
commit6ee1be48428ad6b83b22818984241aa8d85766bd (patch)
tree8b2090bbd808cf1226b9233cd15354be29425d5d
parent59d40ee85493beb04aaf4b861afc7c9f4d9e10a8 (diff)
juick-www: fix comment redirect
-rw-r--r--juick-core/build.gradle2
-rw-r--r--juick-server/build.gradle2
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/NewMessage.java1
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,