From 03586066ab4c1d7c19a994d22ca10f7fe6d41a6a Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 26 Apr 2018 15:25:34 -0400 Subject: [PATCH] add args to user preference plugin outlets --- app/assets/javascripts/discourse/templates/preferences/apps.hbs | 2 +- .../javascripts/discourse/templates/preferences/categories.hbs | 2 +- .../javascripts/discourse/templates/preferences/emails.hbs | 2 +- .../javascripts/discourse/templates/preferences/interface.hbs | 2 +- .../discourse/templates/preferences/notifications.hbs | 2 +- .../javascripts/discourse/templates/preferences/profile.hbs | 2 +- app/assets/javascripts/discourse/templates/preferences/tags.hbs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/preferences/apps.hbs b/app/assets/javascripts/discourse/templates/preferences/apps.hbs index 1d18e69d0f1..958ec75cb7e 100644 --- a/app/assets/javascripts/discourse/templates/preferences/apps.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/apps.hbs @@ -24,4 +24,4 @@ {{/if}} -{{plugin-outlet name="user-preferences-apps"}} +{{plugin-outlet name="user-preferences-apps" args=(hash model=model save=(action "save"))}} diff --git a/app/assets/javascripts/discourse/templates/preferences/categories.hbs b/app/assets/javascripts/discourse/templates/preferences/categories.hbs index ee57fea81e4..fa29ec5cd11 100644 --- a/app/assets/javascripts/discourse/templates/preferences/categories.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/categories.hbs @@ -36,7 +36,7 @@ -{{plugin-outlet name="user-preferences-categories"}} +{{plugin-outlet name="user-preferences-categories" args=(hash model=model save=(action "save"))}}
diff --git a/app/assets/javascripts/discourse/templates/preferences/emails.hbs b/app/assets/javascripts/discourse/templates/preferences/emails.hbs index 9d5f3b57665..b73cffa4d86 100644 --- a/app/assets/javascripts/discourse/templates/preferences/emails.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/emails.hbs @@ -45,7 +45,7 @@ {{/unless}} -{{plugin-outlet name="user-preferences-emails"}} +{{plugin-outlet name="user-preferences-emails" args=(hash model=model save=(action "save"))}}
diff --git a/app/assets/javascripts/discourse/templates/preferences/interface.hbs b/app/assets/javascripts/discourse/templates/preferences/interface.hbs index f6db98b840c..9954bd40092 100644 --- a/app/assets/javascripts/discourse/templates/preferences/interface.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/interface.hbs @@ -43,7 +43,7 @@ {{/if}} -{{plugin-outlet name="user-preferences-interface"}} +{{plugin-outlet name="user-preferences-interface" args=(hash model=model save=(action "save"))}}
diff --git a/app/assets/javascripts/discourse/templates/preferences/notifications.hbs b/app/assets/javascripts/discourse/templates/preferences/notifications.hbs index b51eb6f9a2e..6d6a535f596 100644 --- a/app/assets/javascripts/discourse/templates/preferences/notifications.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/notifications.hbs @@ -47,7 +47,7 @@
{{i18n 'user.muted_users_instructions'}}
-{{plugin-outlet name="user-preferences-notifications"}} +{{plugin-outlet name="user-preferences-notifications" args=(hash model=model save=(action "save"))}}
diff --git a/app/assets/javascripts/discourse/templates/preferences/profile.hbs b/app/assets/javascripts/discourse/templates/preferences/profile.hbs index 31bb62c512e..b906cfe75d1 100644 --- a/app/assets/javascripts/discourse/templates/preferences/profile.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/profile.hbs @@ -50,7 +50,7 @@ {{/if}} -{{plugin-outlet name="user-preferences-profile"}} +{{plugin-outlet name="user-preferences-profile" args=(hash model=model save=(action "save"))}} {{plugin-outlet name="user-custom-preferences" args=(hash model=model)}} diff --git a/app/assets/javascripts/discourse/templates/preferences/tags.hbs b/app/assets/javascripts/discourse/templates/preferences/tags.hbs index af170058de8..1bf4043b2b4 100644 --- a/app/assets/javascripts/discourse/templates/preferences/tags.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/tags.hbs @@ -53,7 +53,7 @@ -{{plugin-outlet name="user-preferences-tags"}} +{{plugin-outlet name="user-preferences-tags" args=(hash model=model save=(action "save"))}}