Fix path for resources in formflows

This commit is contained in:
Stian Thorgersen 2013-10-10 11:47:36 +01:00
parent e701ad7f34
commit 4af43fb63e

View file

@ -125,7 +125,7 @@ public class FormFlows {
// TODO find a better way to obtain contextPath // TODO find a better way to obtain contextPath
// Getting context path by removing "rest/" substring from the BaseUri path // Getting context path by removing "rest/" substring from the BaseUri path
formDataBean.setContextPath(requestURI.substring(0,requestURI.length()-5)); formDataBean.setContextPath(requestURI.substring(0, requestURI.length() - 6));
formDataBean.setSocialRegistration(socialRegistration); formDataBean.setSocialRegistration(socialRegistration);
// Find the service and process relevant template // Find the service and process relevant template