From 50058111457e44cd0e2669b361b137833a5adb45 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Thu, 6 Aug 2015 08:39:24 -0300 Subject: [PATCH] display message for user --- controllers/myprofile/dialoga_plugin_myprofile_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/myprofile/dialoga_plugin_myprofile_controller.rb b/controllers/myprofile/dialoga_plugin_myprofile_controller.rb index a721f93..27788fc 100644 --- a/controllers/myprofile/dialoga_plugin_myprofile_controller.rb +++ b/controllers/myprofile/dialoga_plugin_myprofile_controller.rb @@ -9,7 +9,7 @@ class DialogaPluginMyprofileController < MyProfileController cmd = File.join(path,script) + ' ' + current_person.email.to_s fork {IO.popen(cmd).read} end - flash[:notice] = _("The report wil be sent to email #{current_person.email}") + session[:notice] = _("The report wil be sent to email #{current_person.email}") redirect_to :back end -- libgit2 0.21.2