package mx.gob.jumapacelaya.views;

import com.vaadin.flow.component.orderedlayout.VerticalLayout;
import com.vaadin.flow.router.BeforeEnterEvent;
import com.vaadin.flow.router.BeforeEnterObserver;
import com.vaadin.flow.router.PageTitle;
import com.vaadin.flow.router.Route;
import com.vaadin.flow.server.VaadinSession;

import mx.gob.jumapacelaya.models.Usuario;

@PageTitle("Solicitud de Descuento")
@Route(value = "solicatenusu/inicio", layout = MainLayout.class)
public class redirInicio extends VerticalLayout implements BeforeEnterObserver{
    @Override
    public void beforeEnter(BeforeEnterEvent event) {
        
            event.forwardTo("/");
        
    }
}
