Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Update all URLs to point to mammooc.org
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSerth committed Sep 15, 2017
1 parent 063d1db commit 1c5ea70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mammooc-course-evaluation-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
</iron-form>

<!-- Send form if user is not logged in -->
<form method="post" target="_blank" action="https://mammooc-dev.herokuapp.com/evaluations/login_and_save" id="nativeForm">
<form method="post" target="_blank" action="https://mammooc.org/evaluations/login_and_save" id="nativeForm">
</form>

<!-- Callback for finished post, flashes success message -->
Expand Down Expand Up @@ -190,7 +190,7 @@

_jsonPSubmit() {
const serializedItems = this._serializeFormData();
let url = "https://mammooc-dev.herokuapp.com/evaluations/save.js?callback=callback&";
let url = "https://mammooc.org/evaluations/save.js?callback=callback&";
url = url + Object.keys(serializedItems).map(function(k) {
return encodeURIComponent(k) + '=' + encodeURIComponent(serializedItems[k])
}).join('&');
Expand Down Expand Up @@ -240,7 +240,7 @@
}

_generateUrl(provider, courseId) {
return 'https://mammooc-dev.herokuapp.com/api/current_user_with_evaluation.js?provider='+this.provider + '&course_id=' + this.courseId+'&callback=%%callback%%';
return 'https://mammooc.org/api/current_user_with_evaluation.js?provider='+this.provider + '&course_id=' + this.courseId+'&callback=%%callback%%';
}

_apiLoaded(response) {
Expand Down
2 changes: 1 addition & 1 deletion mammooc-course-evaluation.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
}

_generateEvaluationUrl(provider, courseId, perPage, page) {
return "https://mammooc-dev.herokuapp.com/evaluations/export_course_evaluations?provider=" + provider + "&course_id=" + courseId + "&page=" + page + "&per_page=" + perPage;
return "https://mammooc.org/evaluations/export_course_evaluations?provider=" + provider + "&course_id=" + courseId + "&page=" + page + "&per_page=" + perPage;
}

_loadMoreData() {
Expand Down
4 changes: 2 additions & 2 deletions mammooc-rating-widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@
}

_generateRatingUrl(provider, courseId) {
return "https://mammooc-dev.herokuapp.com/evaluations/export_overall_course_rating?provider=" + this.provider + "&course_id=" + this.courseId;
return "https://mammooc.org/evaluations/export_overall_course_rating?provider=" + this.provider + "&course_id=" + this.courseId;
}

_generateCourseUrl(provider, courseId) {
return "https://mammooc-dev.herokuapp.com/courses/" + this.provider + "~" + this.courseId;
return "https://mammooc.org/courses/" + this.provider + "~" + this.courseId;
}

_handleRatingResponse(request) {
Expand Down

0 comments on commit 1c5ea70

Please sign in to comment.