001    package com.khubla.pragmatach.examples.ebeanexample;
002    
003    import com.khubla.pragmatach.framework.annotation.Controller;
004    import com.khubla.pragmatach.framework.annotation.Route;
005    import com.khubla.pragmatach.framework.annotation.View;
006    import com.khubla.pragmatach.framework.api.PragmatachException;
007    import com.khubla.pragmatach.framework.api.Response;
008    import com.khubla.pragmatach.plugin.freemarker.FreemarkerController;
009    
010    @Controller(name = "IndexController")
011    @View(view = "index.html")
012    public class IndexController extends FreemarkerController {
013       @Route(uri = "/")
014       public Response render() throws PragmatachException {
015          return super.render();
016       }
017    }