Skip to content

Commit

Permalink
Merge pull request #105 from fyockm/master
Browse files Browse the repository at this point in the history
remove unnecessary query param from find function
  • Loading branch information
amoshaviv committed Oct 23, 2013
2 parents ded16ef + 69800ab commit 3e757fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/js/controllers/articles.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ angular.module('mean.articles').controller('ArticlesController', ['$scope', '$ro
});
};

$scope.find = function(query) {
Articles.query(query, function(articles) {
$scope.find = function() {
Articles.query(function(articles) {
$scope.articles = articles;
});
};
Expand Down

0 comments on commit 3e757fd

Please sign in to comment.