added new route in external controller
This commit is contained in:
parent
f403a6e1c4
commit
a98782bc01
|
@ -91,3 +91,5 @@ local.properties
|
|||
prototype/*.db
|
||||
|
||||
prototype/images
|
||||
prototype/data
|
||||
|
||||
|
|
|
@ -156,11 +156,13 @@ public class RequestController {
|
|||
return "intern/supplierOrders/id";
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@GetMapping("/intern/suppliersOffers")
|
||||
public String internSuppliersOffers() {
|
||||
return "intern/offeredArticles/index";
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
@GetMapping("/intern/accounting/")
|
||||
|
|
|
@ -1,36 +1,23 @@
|
|||
package org.hso.ecommerce.controller.intern.suppliers;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
@Controller
|
||||
//@RequestMapping("/intern/suppliersOffers")
|
||||
@RequestMapping("/intern/")
|
||||
public class SupplierOfferController {
|
||||
|
||||
@GetMapping("suppliersOffers")
|
||||
public String internListedArticles(Model model, HttpSession session) {
|
||||
|
||||
|
||||
|
||||
/*
|
||||
@GetMapping("/")
|
||||
public String internListedArticles(Model model) {
|
||||
|
||||
|
||||
System.out.println("\n hier \n");
|
||||
|
||||
|
||||
System.out.println("\nhier\n");
|
||||
|
||||
return "intern/offeredArticles/index";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Reference in New Issue