Commit 58e4b5a85528af237af7b67e53f93e8bf1478044

Authored by Rodrigo Souto
Committed by Joenio Costa
1 parent 11619aa7

Message with 'destroyed' instead of 'removed'

(ActionItem1546)
app/controllers/my_profile/memberships_controller.rb
@@ -29,7 +29,7 @@ class MembershipsController < MyProfileController @@ -29,7 +29,7 @@ class MembershipsController < MyProfileController
29 @community = Community.find(params[:id]) 29 @community = Community.find(params[:id])
30 if request.post? 30 if request.post?
31 if @community.destroy 31 if @community.destroy
32 - flash[:notice] = _('%s was destroyed!') % @community.short_name 32 + flash[:notice] = _('%s was removed.') % @community.short_name
33 redirect_to :action => 'index' 33 redirect_to :action => 'index'
34 end 34 end
35 end 35 end