From f90127d53f34365f0abc9f2e396005e5ac45f1ad Mon Sep 17 00:00:00 2001
From: Bruno Nocera Zanette <brunonzanette@gmail.com>
Date: Thu, 11 Sep 2014 13:06:53 -0300
Subject: [PATCH] Fix BaseURL on EstMunic request to adapt to server

Fix BaseURL on EstMunic request to adapt to server
---
 src/main/webapp/WEB-INF/views/ocorrenciamunicipais/create.jspx | 2 +-
 src/main/webapp/WEB-INF/views/orgaoexecutores/create.jspx      | 2 +-
 src/main/webapp/WEB-INF/views/orgaoexecutores/update.jspx      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/WEB-INF/views/ocorrenciamunicipais/create.jspx b/src/main/webapp/WEB-INF/views/ocorrenciamunicipais/create.jspx
index b74a0c9..5b130a1 100644
--- a/src/main/webapp/WEB-INF/views/ocorrenciamunicipais/create.jspx
+++ b/src/main/webapp/WEB-INF/views/ocorrenciamunicipais/create.jspx
@@ -42,7 +42,7 @@
 					//Get complete base URL
 					if (!window.location.origin)
  					   window.location.origin = window.location.protocol+"//"+window.location.host;
-					RequestBaseUrl = window.location.origin + "/participatorio" + "/ocorrenciamunicipais";
+					RequestBaseUrl = window.location.origin + "/estacao-juventude" + "/ocorrenciamunicipais";
 										
 					//Create and send to server a request of 
 					//the list of "Municipios" that belongs to the "Estado" chosen 
diff --git a/src/main/webapp/WEB-INF/views/orgaoexecutores/create.jspx b/src/main/webapp/WEB-INF/views/orgaoexecutores/create.jspx
index c461417..7ea71b0 100644
--- a/src/main/webapp/WEB-INF/views/orgaoexecutores/create.jspx
+++ b/src/main/webapp/WEB-INF/views/orgaoexecutores/create.jspx
@@ -39,7 +39,7 @@
 					
  					if (!window.location.origin)
   					   window.location.origin = window.location.protocol+"//"+window.location.host;
- 					RequestBaseUrl = window.location.origin + "/participatorio" + "/orgaoexecutores";
+ 					RequestBaseUrl = window.location.origin + "/estacao-juventude" + "/orgaoexecutores";
  					
 					//Create and send to server a request of 
 					//the list of "Municipios" that belongs to the "Estado" chosen 
diff --git a/src/main/webapp/WEB-INF/views/orgaoexecutores/update.jspx b/src/main/webapp/WEB-INF/views/orgaoexecutores/update.jspx
index 9e6d653..0e4f163 100644
--- a/src/main/webapp/WEB-INF/views/orgaoexecutores/update.jspx
+++ b/src/main/webapp/WEB-INF/views/orgaoexecutores/update.jspx
@@ -40,7 +40,7 @@
 					
  					if (!window.location.origin)
   					   window.location.origin = window.location.protocol+"//"+window.location.host;
- 					RequestBaseUrl = window.location.origin + "/participatorio" + "/orgaoexecutores";
+ 					RequestBaseUrl = window.location.origin + "/estacao-juventude" + "/orgaoexecutores";
  					
 					//Create and send to server a request of 
 					//the list of "Municipios" that belongs to the "Estado" chosen 
-- 
GitLab