Commit e09c2fa4e3e7c806ca551a6db29b6e36072ac7cd
1 parent
b5fbc8bb
Exists in
master
and in
29 other branches
ActionItem1163: put back line removed in bad merge
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/controllers/my_profile/memberships_controller.rb
... | ... | @@ -10,6 +10,7 @@ class MembershipsController < MyProfileController |
10 | 10 | community_data = environment.enabled?('organizations_are_moderated_by_default') ? { :moderated_articles => true } : {} |
11 | 11 | community_data.merge!(params[:community]) if params[:community] |
12 | 12 | @community = Community.new(community_data) |
13 | + @community.environment = environment | |
13 | 14 | @wizard = params[:wizard].blank? ? false : params[:wizard] |
14 | 15 | if request.post? |
15 | 16 | if @community.save | ... | ... |