Moved views out of private folder

This commit is contained in:
Stefan Zermatten
2017-01-12 15:28:59 +02:00
parent 37268495ae
commit 38ea89995a
162 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
Template.newCharacterDialog.events({
"tap #addButton": function(event, instance){
Characters.insert({
name: instance.find("#nameInput").value,
gender: instance.find("#genderInput").value,
race: instance.find("#raceInput").value,
owner: Meteor.userId(),
}, function(err, id){
if (err) throw err;
Router.go("characterSheet", {_id: id});
});
}
});