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