package com.atlassian.stash.internal.web.auth;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/logout")
public class LogoutController {

    public static final String LOGOUT = "bitbucket.internal.auth.logout";

    @RequestMapping(method = RequestMethod.GET)
    public ModelAndView logout() {
        return new ModelAndView(LOGOUT);
    }

}
