From e09c2fa4e3e7c806ca551a6db29b6e36072ac7cd Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 24 Jul 2009 10:07:59 -0300 Subject: [PATCH] ActionItem1163: put back line removed in bad merge --- app/controllers/my_profile/memberships_controller.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/controllers/my_profile/memberships_controller.rb b/app/controllers/my_profile/memberships_controller.rb index 6436246..904534d 100644 --- a/app/controllers/my_profile/memberships_controller.rb +++ b/app/controllers/my_profile/memberships_controller.rb @@ -10,6 +10,7 @@ class MembershipsController < MyProfileController community_data = environment.enabled?('organizations_are_moderated_by_default') ? { :moderated_articles => true } : {} community_data.merge!(params[:community]) if params[:community] @community = Community.new(community_data) + @community.environment = environment @wizard = params[:wizard].blank? ? false : params[:wizard] if request.post? if @community.save -- libgit2 0.21.2