From 378087727f923f87ba77b25393d172ba198066b8 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 7 Aug 2015 14:18:42 -0400 Subject: [PATCH] Admin adapters should be within the admin JS app --- .../{discourse => admin}/adapters/build-plugin.js.es6 | 0 .../{discourse => admin}/adapters/customization-base.js.es6 | 0 app/assets/javascripts/admin/adapters/site-text-type.js.es6 | 2 ++ app/assets/javascripts/admin/adapters/site-text.js.es6 | 2 ++ app/assets/javascripts/admin/adapters/user-field.js.es6 | 2 ++ app/assets/javascripts/discourse/adapters/site-text-type.js.es6 | 2 -- app/assets/javascripts/discourse/adapters/site-text.js.es6 | 2 -- app/assets/javascripts/discourse/adapters/user-field.js.es6 | 2 -- 8 files changed, 6 insertions(+), 6 deletions(-) rename app/assets/javascripts/{discourse => admin}/adapters/build-plugin.js.es6 (100%) rename app/assets/javascripts/{discourse => admin}/adapters/customization-base.js.es6 (100%) create mode 100644 app/assets/javascripts/admin/adapters/site-text-type.js.es6 create mode 100644 app/assets/javascripts/admin/adapters/site-text.js.es6 create mode 100644 app/assets/javascripts/admin/adapters/user-field.js.es6 delete mode 100644 app/assets/javascripts/discourse/adapters/site-text-type.js.es6 delete mode 100644 app/assets/javascripts/discourse/adapters/site-text.js.es6 delete mode 100644 app/assets/javascripts/discourse/adapters/user-field.js.es6 diff --git a/app/assets/javascripts/discourse/adapters/build-plugin.js.es6 b/app/assets/javascripts/admin/adapters/build-plugin.js.es6 similarity index 100% rename from app/assets/javascripts/discourse/adapters/build-plugin.js.es6 rename to app/assets/javascripts/admin/adapters/build-plugin.js.es6 diff --git a/app/assets/javascripts/discourse/adapters/customization-base.js.es6 b/app/assets/javascripts/admin/adapters/customization-base.js.es6 similarity index 100% rename from app/assets/javascripts/discourse/adapters/customization-base.js.es6 rename to app/assets/javascripts/admin/adapters/customization-base.js.es6 diff --git a/app/assets/javascripts/admin/adapters/site-text-type.js.es6 b/app/assets/javascripts/admin/adapters/site-text-type.js.es6 new file mode 100644 index 000000000..b547b06f3 --- /dev/null +++ b/app/assets/javascripts/admin/adapters/site-text-type.js.es6 @@ -0,0 +1,2 @@ +import CustomizationBase from 'admin/adapters/customization-base'; +export default CustomizationBase; diff --git a/app/assets/javascripts/admin/adapters/site-text.js.es6 b/app/assets/javascripts/admin/adapters/site-text.js.es6 new file mode 100644 index 000000000..b547b06f3 --- /dev/null +++ b/app/assets/javascripts/admin/adapters/site-text.js.es6 @@ -0,0 +1,2 @@ +import CustomizationBase from 'admin/adapters/customization-base'; +export default CustomizationBase; diff --git a/app/assets/javascripts/admin/adapters/user-field.js.es6 b/app/assets/javascripts/admin/adapters/user-field.js.es6 new file mode 100644 index 000000000..b547b06f3 --- /dev/null +++ b/app/assets/javascripts/admin/adapters/user-field.js.es6 @@ -0,0 +1,2 @@ +import CustomizationBase from 'admin/adapters/customization-base'; +export default CustomizationBase; diff --git a/app/assets/javascripts/discourse/adapters/site-text-type.js.es6 b/app/assets/javascripts/discourse/adapters/site-text-type.js.es6 deleted file mode 100644 index 24cabb74f..000000000 --- a/app/assets/javascripts/discourse/adapters/site-text-type.js.es6 +++ /dev/null @@ -1,2 +0,0 @@ -import CustomizationBase from 'discourse/adapters/customization-base'; -export default CustomizationBase; diff --git a/app/assets/javascripts/discourse/adapters/site-text.js.es6 b/app/assets/javascripts/discourse/adapters/site-text.js.es6 deleted file mode 100644 index 24cabb74f..000000000 --- a/app/assets/javascripts/discourse/adapters/site-text.js.es6 +++ /dev/null @@ -1,2 +0,0 @@ -import CustomizationBase from 'discourse/adapters/customization-base'; -export default CustomizationBase; diff --git a/app/assets/javascripts/discourse/adapters/user-field.js.es6 b/app/assets/javascripts/discourse/adapters/user-field.js.es6 deleted file mode 100644 index 24cabb74f..000000000 --- a/app/assets/javascripts/discourse/adapters/user-field.js.es6 +++ /dev/null @@ -1,2 +0,0 @@ -import CustomizationBase from 'discourse/adapters/customization-base'; -export default CustomizationBase;