package app.util;

/**
 * Created by james on 11/25/16.
 */
public class Path {

    public static final String STATIC = "/public";

    public static class Web {
        public static final String INDEX = "/";
        public static final String LOGIN = "/login";
        public static final String LOGOUT = "/logout";
        public static final String SIGNUP = "/signup";
        public static final String USER = "/user";
        public static final String GAME_LOBBY = "/game";
        public static final String GAME = "/game/:id";
    }

    public static class Template {
        public static final String DIR = "/freemarker";
        public static final String INDEX = "/index.ftl";
        public static final String FOOTER = "/footer.ftl";
        public static final String LOGIN = "/login.ftl";
    }
}

@@ -537,16 +537,607 @@
 %0A    %7D%0A%0A
+    public static class Action %7B%0A        public static final String ADD_PLAYER = %22/game/:id/add%22;%0A        public static final String DISPROVE_SUGGESTION = %22/game/:id/disprove%22;%0A        public static final String END_TURN = %22/game/:id/endturn%22;%0A        public static final String MAKE_ACCUSATION = %22/game/:id/accuse%22;%0A        public static final String MAKE_SUGGESTION = %22/game/:id/suggest%22;%0A        public static final String MOVE = %22/game/:id/move%22;%0A        public static final String SET_TOKEN = %22/game/:id/token%22;%0A        public static final String START_GAME = %22/game/:id/start%22;%0A    %7D%0A%0A
     publ

Add URLs for POSTs that lead to Actions.