Commit e09c2fa4e3e7c806ca551a6db29b6e36072ac7cd

Authored by Antonio Terceiro
1 parent b5fbc8bb

ActionItem1163: put back line removed in bad merge

app/controllers/my_profile/memberships_controller.rb
@@ -10,6 +10,7 @@ class MembershipsController < MyProfileController @@ -10,6 +10,7 @@ class MembershipsController < MyProfileController
10 community_data = environment.enabled?('organizations_are_moderated_by_default') ? { :moderated_articles => true } : {} 10 community_data = environment.enabled?('organizations_are_moderated_by_default') ? { :moderated_articles => true } : {}
11 community_data.merge!(params[:community]) if params[:community] 11 community_data.merge!(params[:community]) if params[:community]
12 @community = Community.new(community_data) 12 @community = Community.new(community_data)
  13 + @community.environment = environment
13 @wizard = params[:wizard].blank? ? false : params[:wizard] 14 @wizard = params[:wizard].blank? ? false : params[:wizard]
14 if request.post? 15 if request.post?
15 if @community.save 16 if @community.save