<commit_before>var subscriptions = new SubsManager();

Router.configure({
	layoutTemplate: 'layout',
	loadingTemplate: 'loading',
	notFoundTemplate: 'notFound'
});

Router.route('/', {
	name: 'home',
	waitOn: function() {
		return subscriptions.subscribe('allOwnedMangas', Meteor.userId());
	},
	fastRender: true
});

Router.route('/missingMangas', {
	name: 'missingMangas',
	waitOn: function() {
		return subscriptions.subscribe('allMissingMangas', Meteor.userId());
	}
});

Router.route('/tome/:_id', {
	name: 'tomeDetails',
	waitOn: function() {
		return subscriptions.subscribe('tomeDetails', this.params._id);
	},
	data: function() {
		return Mangas.findOne(this.params._id);
	}
});
<commit_msg>Add mangasName in the route<commit_after>var subscriptions = new SubsManager();

Router.configure({
	layoutTemplate: 'layout',
	loadingTemplate: 'loading',
	notFoundTemplate: 'notFound'
});

Router.route('/', {
	name: 'home',
	waitOn: function() {
		return subscriptions.subscribe('allOwnedMangas', Meteor.userId());
	},
	fastRender: true
});

Router.route('/missingMangas', {
	name: 'missingMangas',
	waitOn: function() {
		return subscriptions.subscribe('allMissingMangas', Meteor.userId());
	}
});

Router.route('/:mangasName/tome/:_id', {
	name: 'tomeDetails',
	waitOn: function() {
		return subscriptions.subscribe('tomeDetails', this.params._id);
	},
	data: function() {
		return Mangas.findOne(this.params._id);
	}
});

{'fraction_non_alphanumeric': 0.17812061711079943, 'fraction_numerical': 0.0, 'mean_word_length': 5.795238095238095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6559938', 'n_tokens_mistral': 504, 'n_tokens_neox': 492, 'n_words': 86}