@ -74,6 +74,10 @@ export class PathHelperService {
return this.staticBase + '/my/page';
}
public newsPath(newsId:string) {
return this.staticBase + '/news/' + newsId;
public loginPath() {
return this.staticBase + '/login';
@ -53,7 +53,7 @@ export class WidgetNewsComponent extends AbstractWidgetComponent implements OnIn
public newsPath(news:NewsResource) {
return `${this.pathHelper.appBasePath}/news/${news.id}`;
return this.pathHelper.newsPath(news.id!);
public newsProjectPath(news:NewsResource) {