Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SachaG committed Mar 31, 2015
1 parent e43f18a commit 67e4ebe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Fixed various bugs (thanks @webyak, @yourcelf, @ywang28, @delgermurun!).
* Now publishing upvoters and downvoters on single post page.
* Improved French translation (thanks @klamzo!).
* Added Dutch translation (thanks @reneras!).

## v0.14.3 “TableScope”

Expand Down
10 changes: 0 additions & 10 deletions packages/telescope-tags/lib/categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ Meteor.startup(function () {
update: isAdminById,
remove: isAdminById
});

Meteor.methods({
submitCategory: function(category){
console.log(category)
if (!Meteor.user() || !isAdmin(Meteor.user()))
throw new Meteor.Error(i18n.t('you_need_to_login_and_be_an_admin_to_add_a_new_category'));
var categoryId=Categories.insert(category);
return category.name;
}
});
});

getPostCategories = function (post) {
Expand Down

0 comments on commit 67e4ebe

Please sign in to comment.