[longomatch] Use proper class for the templates provider
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use proper class for the templates provider
- Date: Sun, 15 Jan 2012 23:04:33 +0000 (UTC)
commit 60b056e74244d3cbed6f52b43fa414dad17b62d8
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Jan 15 23:29:42 2012 +0100
Use proper class for the templates provider
LongoMatch.Services/Services/TemplatesService.cs | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.Services/Services/TemplatesService.cs b/LongoMatch.Services/Services/TemplatesService.cs
index d01d1c4..223ca75 100644
--- a/LongoMatch.Services/Services/TemplatesService.cs
+++ b/LongoMatch.Services/Services/TemplatesService.cs
@@ -39,9 +39,7 @@ namespace LongoMatch.Services
public TemplatesService (string basePath)
{
dict = new Dictionary<Type, ITemplateProvider>();
- dict.Add(typeof(SubCategoryTemplate),
- new TemplatesProvider<SubCategoryTemplate, string> (basePath,
- Constants.SUBCAT_TEMPLATE_EXT));
+ dict.Add(typeof(SubCategoryTemplate), new SubCategoriesTemplatesProvider(basePath));
dict.Add(typeof(TeamTemplate), new TeamTemplatesProvider(basePath));
dict.Add(typeof(Categories), new CategoriesTemplatesProvider (basePath));
CheckDefaultTemplates();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]