mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Convert all Ajax calls to use Discourse.ajax()
This commit is contained in:
@@ -28,7 +28,7 @@ Discourse.GithubCommit.reopenClass({
|
||||
findAll: function() {
|
||||
var result;
|
||||
result = Em.A();
|
||||
$.ajax( "https://api.github.com/repos/discourse/discourse/commits?callback=callback", {
|
||||
Discourse.ajax( "https://api.github.com/repos/discourse/discourse/commits?callback=callback", {
|
||||
dataType: 'jsonp',
|
||||
type: 'get',
|
||||
data: { per_page: 25 },
|
||||
|
||||
Reference in New Issue
Block a user