diff --git a/controllers/myprofile/dialoga_plugin_myprofile_controller.rb b/controllers/myprofile/dialoga_plugin_myprofile_controller.rb index 409f640..43d2230 100644 --- a/controllers/myprofile/dialoga_plugin_myprofile_controller.rb +++ b/controllers/myprofile/dialoga_plugin_myprofile_controller.rb @@ -7,10 +7,9 @@ class DialogaPluginMyprofileController < MyProfileController scripts = ['sent_event_report', 'sent_proposal_report'] scripts.map do |script| cmd = File.join(path,script) + ' ' + current_person.email.to_s -#raise IO.popen(cmd).read.inspect fork {IO.popen(cmd).read} end - session[:notice] = _("The report wil be sent to email #{current_person.email}") + session[:notice] = _("The report wil be sent to email %s") % current_person.email redirect_to :back end -- libgit2 0.21.2