lib/templates/resource/controller/BaseController.java.erb in spring-gen-0.1.0 vs lib/templates/resource/controller/BaseController.java.erb in spring-gen-0.1.1
- old
+ new
@@ -1,6 +1,6 @@
-package <%=@group_id%>.controller;
+package <%=@package%>.controller;
/*
* Copyright (c) 2015 <%=@user_name%>.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -13,11 +13,11 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-import <%=@group_id%>.exception.NotCreatedException;
-import <%=@group_id%>.model.BaseEntity;
+import <%=@package%>.exception.NotCreatedException;
+import <%=@package%>.model.BaseEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.rest.webmvc.ResourceNotFoundException;
import org.springframework.hateoas.EntityLinks;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;