Esempio n. 1
0
 /** This method is the for pulling up the home page of the non-secure drive-cleaners site. */
 public static void index() {
   if (CustomerId.present()) {
     Customer customer = Customer.findById(CustomerId.get());
     renderTemplate("site/index.html", customer);
   } else {
     renderTemplate("site/index.html");
   }
 }