a guest Apr 24th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class ContactsController < ApplicationController
- def index
- def new
- 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
RAW Paste Data