Skip to content

Instantly share code, notes, and snippets.

@coderberry
Created March 30, 2009 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coderberry/87924 to your computer and use it in GitHub Desktop.
Save coderberry/87924 to your computer and use it in GitHub Desktop.
# Found in code of controller
if session[:template_name] == "website1"
Website1.deliver_welcome_email("cavneb@gmail.com")
else
Website2.deliver_welcome_email("cavneb@gmail.com")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment