src/main/java/com/webcheckers/ui/PostSignOutRoute.java
/**
     * Render the WebCheckers login page.
     *
     * @param request
     *   the HTTP request
     * @param response
     *   the HTTP response
     *
     * @return
     *   the rendered HTML for the home page
     */
Render the WebCheckers login page.
@param request
the HTTP request
@param response
the HTTP response

@return
the rendered HTML for the home page
Render the WebCheckers login page . @param request the HTTP request @param response the HTTP response @return the rendered HTML for the home page
@Override
    public Object handle(Request request, Response response) {
        Session httpSession = request.session();
        Player curr = httpSession.attribute(SessionAttributes.PLAYER);
        Application.playerLobby.sign_out(curr);
        httpSession.attribute(SessionAttributes.PLAYER, null);
        response.redirect(HOME_URL);
        return null;
    }
@ Override public Object handle ( Request request , Response response ) { Session httpSession = request . session ( ) ; Player curr = httpSession . attribute ( SessionAttributes . PLAYER ) ; Application . playerLobby . sign_out ( curr ) ; httpSession . attribute ( SessionAttributes . PLAYER , null ) ; response . redirect ( HOME_URL ) ; return null ; }
Render the WebCheckers login page.
Render the WebCheckers login page .