From 9dae6c8d12b09d510f94453b1329c69cab2b292c Mon Sep 17 00:00:00 2001 From: Jason Mayo Date: Wed, 11 Nov 2020 22:08:09 +0000 Subject: [PATCH] Fixed: References to asset bundle --- CHANGELOG.md | 4 ++++ composer.json | 2 +- src/StravaSync.php | 2 +- src/templates/settings.twig | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1ff6b1..2239c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Strava Sync Changelog +## 1.0.16 - 2020-11-11 +### Fixed +- References to asset bundle + ## 1.0.15 - 2020-11-11 ### Fixed - Loading asset bundle diff --git a/composer.json b/composer.json index 0e7f849..6902885 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "bymayo/strava-sync", "description": "Connect to Strava with oAuth and sync activities etc to Craft CMS ", "type": "craft-plugin", - "version": "1.0.15", + "version": "1.0.16", "keywords": [ "craft", "cms", diff --git a/src/StravaSync.php b/src/StravaSync.php index db7e901..966cc26 100755 --- a/src/StravaSync.php +++ b/src/StravaSync.php @@ -4,7 +4,7 @@ use bymayo\stravasync\variables\StravaSyncVariable; use bymayo\stravasync\models\Settings; -use bymayo\stravasync\assetbundles\stravasync\StravaSyncAsset; +use bymayo\stravasync\assetbundles\StravaSync\StravaSyncAsset; use Craft; use craft\base\Plugin; diff --git a/src/templates/settings.twig b/src/templates/settings.twig index a177d64..201733c 100755 --- a/src/templates/settings.twig +++ b/src/templates/settings.twig @@ -1,5 +1,6 @@ {% import "_includes/forms" as forms %} -{% do view.registerAssetBundle("bymayo\\stravasync\\assetbundles\\stravasync\\StravaSyncAsset") %} + +{% do view.registerAssetBundle("bymayo\\stravasync\\assetbundles\\StravaSync\\StravaSyncAsset") %} {{ forms.textField({ label: 'Client ID',