Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ContactsController < ApplicationController
- def index
- end
- def new
- end
- def create
- LegMailer.deliver_legislator(params[:name], params[:email], params[:body], params[:legislator])
- flash[:notice] = "You've successfuly registered. Please check your email for a confirmation!"
- render :action => 'index'
- logger.debug params.inspect
- end
- end
Add Comment
Please, Sign In to add comment