package com.github.theborakompanioni.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by void on 21.08.15.
 */
@Controller
public class HomeCtrl {
    @RequestMapping("/")
    String index() {
        return "index";
    }

    @RequestMapping("/login")
    String login() {
        return "login";
    }
}

@@ -89,71 +89,8 @@
 ler;
-%0Aimport org.springframework.web.bind.annotation.RequestMapping;
 %0A%0A/*
@@ -167,164 +167,7 @@
 l %7B%0A
-    @RequestMapping(%22/%22)%0A    String index() %7B%0A        return %22index%22;%0A    %7D%0A%0A    @RequestMapping(%22/login%22)%0A    String login() %7B%0A        return %22login%22;%0A    %7D
 %0A%7D%0A

remove mappings from HomeCtrl