From b4dd6e0cbece21f227dfff8df8c3a0a521e7c690 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 13 Dec 2023 14:10:47 +0000 Subject: [PATCH] DEV: Resolve link-to deprecation for Ember upgrade --- .../discourse/templates/admin/plugins-house-ads.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs b/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs index c01c14aa..e1056082 100644 --- a/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs +++ b/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs @@ -3,11 +3,11 @@ {{#if model.length}}
- {{#link-to "adminPlugins.houseAds.show" "new" class="btn btn-primary"}} + {{#link-to route="adminPlugins.houseAds.show" "new" class="btn btn-primary"}} {{d-icon "plus"}} {{i18n "admin.adplugin.house_ads.new"}} {{/link-to}} - {{#link-to "adminPlugins.houseAds.index" class="btn btn-default"}} + {{#link-to route="adminPlugins.houseAds.index" class="btn btn-default"}} {{d-icon "cog"}} {{i18n "admin.adplugin.house_ads.settings"}} {{/link-to}} @@ -15,7 +15,7 @@
    {{#each model as |ad|}}
  • - {{#link-to "adminPlugins.houseAds.show" ad.id}} + {{#link-to route="adminPlugins.houseAds.show" model=ad.id}} {{ad.name}} {{/link-to}}