Closed nickhammond closed 11 years ago
Love the project by the way :) I'm about to test 2 ideas and this was basically the same thing I was looking to build.
Nick, thanks for the pull request. I haven't personally had a need for dynamic content, but I guess you have one?
I guess it wasn't for the dynamic content but just to go with Sinatra convention more than anything. I liked having erb :index
as opposed to opening and reading a file within an action. Makes it easier if anyone needed to add an additional view too like an about page or something. Also, if someone wanted to use HAML instead they could just modify that to haml :index
too.
Thanks for the merge! I ended up building this project off of this http://gmail-mail-merge.herokuapp.com/ Still working on some testing and getting a real domain, it's a personal need that I have for some simple email automation to a group and without using a full CRM or anything. It'll tie into various contact stores and send over your SMTP server so the email always comes from you specifically.
Just updated the index action to use the erb template renderer and with the Sinatra views path. It separates the assets from the views and sets the app up to have dynamic templates.