Created
August 23, 2014 00:15
-
-
Save rociopaez/1870f8848809e7f4764d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Mailer | |
extend Mote::Helpers | |
def self.render(template, params = {}) | |
return mote("./mails/#{ template }.mote", params) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment