Skip to content

Commit

Permalink
logo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jun 20, 2019
1 parent c7acf28 commit 15b11b5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -3557,7 +3557,7 @@ public static IModel<String> getIconUrlModel(IconType icon){
return Model.of(sUrl);
}

List<String> segments = RequestCycle.get().getRequest().getUrl().getSegments();
List<String> segments = RequestCycle.get().getUrlRenderer().getBaseUrl().getSegments();
if (segments == null || segments.size() < 2) {
return Model.of(sUrl);
}
Expand Down

0 comments on commit 15b11b5

Please sign in to comment.