-
-
Save cj/dd34a91a66df5b171a7b 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 Auto::EmailsController < ApplicationController | |
respond_to :html, :json | |
def create | |
end | |
def legacy | |
AutoMailer.legacy(params[:email]).deliver | |
respond_with({:msg => :success}, :location => nil) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment