Skip to content

Commit

Permalink
LPS-124255 Adapt usages
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-pulido committed Dec 1, 2020
1 parent 35eb76f commit a586f43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -81,8 +81,8 @@ public String getConfiguration(
JSONObject jsonObject = JSONFactoryUtil.createJSONObject(
StringUtil.read(
getClass(),
"/META-INF/resources/fragment/renderer/collection/filter" +
"/configuration.json"));
"/com/liferay/fragment/renderer/collection/filter" +
"/internal/dependencies/configuration.json"));

return _fragmentEntryConfigurationParser.translateConfiguration(
jsonObject, resourceBundle);
Expand Down
Expand Up @@ -80,8 +80,8 @@ public String getConfiguration(
JSONObject jsonObject = JSONFactoryUtil.createJSONObject(
StringUtil.read(
getClass(),
"/META-INF/resources/fragment/renderer/menu/display" +
"/configuration.json"));
"/com/liferay/fragment/renderer/menu/display/internal" +
"/dependencies/configuration.json"));

return _fragmentEntryConfigurationParser.translateConfiguration(
jsonObject, resourceBundle);
Expand Down Expand Up @@ -285,8 +285,8 @@ private void _writeCss(
String styles = StringUtil.replace(
StringUtil.read(
getClass(),
"/META-INF/resources/fragment/renderer/menu/display" +
"/styles.tmpl"),
"/com/liferay/fragment/renderer/menu/display/internal" +
"/dependencies/styles.tmpl"),
"${", "}",
HashMapBuilder.put(
"fragmentId", fragmentId
Expand Down

0 comments on commit a586f43

Please sign in to comment.