Commit 50058111457e44cd0e2669b361b137833a5adb45

Authored by Leandro Santos
1 parent 14cab193
Exists in master

display message for user

controllers/myprofile/dialoga_plugin_myprofile_controller.rb
@@ -9,7 +9,7 @@ class DialogaPluginMyprofileController < MyProfileController @@ -9,7 +9,7 @@ class DialogaPluginMyprofileController < MyProfileController
9 cmd = File.join(path,script) + ' ' + current_person.email.to_s 9 cmd = File.join(path,script) + ' ' + current_person.email.to_s
10 fork {IO.popen(cmd).read} 10 fork {IO.popen(cmd).read}
11 end 11 end
12 - flash[:notice] = _("The report wil be sent to email #{current_person.email}") 12 + session[:notice] = _("The report wil be sent to email #{current_person.email}")
13 redirect_to :back 13 redirect_to :back
14 end 14 end
15 15