L'url envoyée dans la demande d'informations permet à l'utilisateur de l'éditer
This commit is contained in:
parent
959bd2952e
commit
8e80e7e9ff
@ -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
|
||||
|
||||
|
@ -8,6 +8,6 @@
|
||||
\
|
||||
=t '.edit_link'
|
||||
\
|
||||
= edit_moderation_url @note.event
|
||||
= edit_event_url @note.event, secret: @note.event.secret
|
||||
\
|
||||
=t '.signature'
|
||||
|
Loading…
Reference in New Issue
Block a user