Skip to content

Commit d5de3f6

Browse files
committed
Fixed wrong templateUrls
1 parent a99b916 commit d5de3f6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
angular.module('sm').directive("courseCart", function() {
22
return {
33
restrict: 'A',
4-
templateUrl: '<%=modulePath%>App/templates/cart.min.html'
4+
templateUrl: '/<%=modulePath%>App/templates/cart.min.html'
55
};
66
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
angular.module('sm').directive("scheduleCourse", function(){
22
return {
33
restrict: "C",
4-
templateUrl: '<%=modulePath%>Generate/templates/courseselect.min.html',
4+
templateUrl: '/<%=modulePath%>Generate/templates/courseselect.min.html',
55
};
66
});

assets/src/modules/sm/Schedule/directives/scheduleDirective.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ angular.module('sm').directive('schedule', function($timeout, $filter) {
182182

183183
return {
184184
restrict: 'A',
185-
templateUrl: '<%=modulePath%>Schedule/templates/scheduleitem.min.html',
185+
templateUrl: '/<%=modulePath%>Schedule/templates/scheduleitem.min.html',
186186
link: {
187187
pre: function(scope, elm, attrs) {
188188
scope.scheduleController = new Schedule(scope);

assets/src/modules/sm/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ angular.module('sm', ['ngAnimate', 'ngSanitize', 'ui.router'])
1313

1414
$urlRouterProvider.otherwise("/404");
1515

16-
var tplBase = '<%=modulePath%>';
16+
var tplBase = '/<%=modulePath%>';
1717

1818
var tplPath = function(submodule, name) {
1919
return tplBase + submodule + '/templates/' + name + '.min.html';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "schedulemaker",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"private": true,
55
"description": "A course database lookup tool and schedule building web application for use at Rochester Institute of Technology.",
66
"main": "index.php",

0 commit comments

Comments
 (0)