Changeset 1174
- Timestamp:
- 06/24/08 20:49:40 (7 months ago)
- Files:
-
- trunk/app/controllers/email_controller.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/controllers/email_controller.rb
r1173 r1174 72 72 def create_mail_from_params 73 73 if params[:mail].is_a?(Hash) 74 @ email = ContactMail.new(74 @mail = ContactMail.new( 75 75 params[:mail][:name], 76 76 params[:mail][:address], … … 81 81 ) 82 82 else 83 @ email = nil83 @mail = nil 84 84 end 85 85 unless @mail.nil? || @mail.valid?
