lib/templates/resource/controller/Controller.java.erb in spring-gen-0.1.0 vs lib/templates/resource/controller/Controller.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,13 +13,13 @@
* 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%>.assembler.<%=@model_name%>Assembler;
-import <%=@group_id%>.model.<%=@model_name%>;
-import <%=@group_id%>.resource.<%=@model_name%>Resource;
-import <%=@group_id%>.repository.<%=@model_name%>Repository;
+import <%=@package%>.assembler.<%=@model_name%>Assembler;
+import <%=@package%>.model.<%=@model_name%>;
+import <%=@package%>.resource.<%=@model_name%>Resource;
+import <%=@package%>.repository.<%=@model_name%>Repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.web.PageableDefault;
import org.springframework.data.web.PagedResourcesAssembler;