diff --git a/changes_to_monolith/HomepageController.java b/changes_to_monolith/HomepageController.java index 7a8f6ed..c3b231c 100644 --- a/changes_to_monolith/HomepageController.java +++ b/changes_to_monolith/HomepageController.java @@ -27,7 +27,7 @@ public class HomepageController { * @param model Template model * @return The constant template name fpr the stock admin frontend. */ - @RequestMapping(value = "/admin", method = RequestMethod.GET) + @RequestMapping(value = "/stockadmin", method = RequestMethod.GET) public String redirect(Model model) { return this.STOCKADMINFRONTENDTEMPLATE; } diff --git a/changes_to_monolith/product.html b/changes_to_monolith/product.html index 0d7bc31..39523b2 100644 --- a/changes_to_monolith/product.html +++ b/changes_to_monolith/product.html @@ -31,6 +31,7 @@

Product Name

+

0,00 Euro

Description.

diff --git a/changes_to_monolith/admin.html b/changes_to_monolith/stockadmin.html similarity index 100% rename from changes_to_monolith/admin.html rename to changes_to_monolith/stockadmin.html diff --git a/http/good_temp.go b/http/good_temp.go index 434ffa3..cfd5eb9 100644 --- a/http/good_temp.go +++ b/http/good_temp.go @@ -11,7 +11,7 @@ import ( // Path to the svg image template, that shows the availablity or freshness of a given good // with a traffic light food labeling system -var GoodAvailabilityTemplate string +var GoodAvailablityTemplate string var GoodFreshnessTemplate string // Function to calculate a percent value from a given value and an maximum value @@ -32,7 +32,7 @@ func getGoodAvailablitySVG(w http.ResponseWriter, count int) { "process_radius": tempProcessRadius, }) buf := bytes.NewBuffer(nil) - f, _ := os.Open(GoodAvailabilityTemplate) // Error handling elided for brevity. + f, _ := os.Open(GoodAvailablityTemplate) // Error handling elided for brevity. io.Copy(buf, f) // Error handling elided for brevity. f.Close()