001 package com.khubla.pragmatach.examples.uploadexample; 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 /** 011 * @author tome 012 */ 013 @Controller() 014 public class IndexController extends FreemarkerController { 015 @Route(uri = "/") 016 @View(view = "index.html") 017 public Response render() throws PragmatachException { 018 return super.render(); 019 } 020 }