fixed the snippets controller to add the template dir instead of setting it
Merge pull request #12 from cnlpete/development

fixed the snippets controller