Commit 43e20ab121289bb351881439ed08663edbae5669

Authored by AntonioTerceiro
1 parent b161a688

ActionItem16: don't call name for environment. Must override its to_s



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@870 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/create_enterprise.rb
@@ -122,7 +122,7 @@ class CreateEnterprise < Task @@ -122,7 +122,7 @@ class CreateEnterprise < Task
122 end 122 end
123 123
124 def task_cancelled_message 124 def task_cancelled_message
125 - _('Your request for registering the enterprise %{enterprise} at %{environment} was NOT approved by the validator organization. The following explanation was give: \n\n%{explanation}') % { :enterprise => self.name, :environment => self.environment, :explanation => self.reject_explanation } 125 + _("Your request for registering the enterprise %{enterprise} at %{environment} was NOT approved by the validator organization. The following explanation was given: \n\n%{explanation}") % { :enterprise => self.name, :environment => self.environment, :explanation => self.reject_explanation }
126 end 126 end
127 127
128 def target_notification_message 128 def target_notification_message