Skip to content

Commit

Permalink
Switch JS template location to vendor based
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewis-everley committed Jan 16, 2020
1 parent 8dc6b32 commit ea2aa3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/SystemMessageControllerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function onAfterInit()
"UseBootstrap" => Config::inst()->get(SystemMessages::class, 'use_bootstrap')
];

Requirements::javascriptTemplate('vendor/i-lateral/silverstripe-systemmessages/client/dist/js/SMModal.js', $vars);
Requirements::javascriptTemplate('i-lateral/silverstripe-systemmessages:client/dist/js/SMModal.js', $vars);
}

public function SystemMessages()
Expand Down

0 comments on commit ea2aa3a

Please sign in to comment.