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..64273044 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,13 @@
{{#if model.length}}
- {{#link-to "adminPlugins.houseAds.show" "new" class="btn btn-primary"}}
+ {{#link-to
+ route="adminPlugins.houseAds.show" model="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 +17,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}}