From 8e80e7e9ffd280d6f1004fb3d9790aa4db52b7cb Mon Sep 17 00:00:00 2001 From: echarp Date: Tue, 1 Jul 2014 21:06:46 +0200 Subject: [PATCH] =?UTF-8?q?L'url=20envoy=C3=A9e=20dans=20la=20demande=20d'?= =?UTF-8?q?informations=20permet=20=C3=A0=20l'utilisateur=20de=20l'=C3=A9d?= =?UTF-8?q?iter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/notes_controller.rb | 2 +- app/views/note_mailer/create.text.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index ca96536a..1e996b73 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -16,7 +16,7 @@ class NotesController < ApplicationController if params[:envoiParMail] == 'oui' # Send an update mail to its author NoteMailer.create(@note).deliver - @note.contents = t('.sendByMailWrap', contents: @note.contents) + @note.contents = t '.sendByMailWrap', contents: @note.contents @note.save end diff --git a/app/views/note_mailer/create.text.haml b/app/views/note_mailer/create.text.haml index e7715e04..d949f7b6 100644 --- a/app/views/note_mailer/create.text.haml +++ b/app/views/note_mailer/create.text.haml @@ -8,6 +8,6 @@ \ =t '.edit_link' \ -= edit_moderation_url @note.event += edit_event_url @note.event, secret: @note.event.secret \ =t '.signature'