aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api/controllers/util/JsonpAdvice.java
blob: cc14976bdcea31d2a5ae0de6d8b82d2f5d627914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.juick.api.controllers.util;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice;

/**
 * Created by vitalyster on 25.11.2016.
 */
@ControllerAdvice
public class JsonpAdvice extends AbstractJsonpResponseBodyAdvice {
    public JsonpAdvice() {
        super("callback");
    }
}