diff --git a/app/controllers/my_profile/memberships_controller.rb b/app/controllers/my_profile/memberships_controller.rb index 56263b1..c7af2db 100644 --- a/app/controllers/my_profile/memberships_controller.rb +++ b/app/controllers/my_profile/memberships_controller.rb @@ -21,6 +21,9 @@ class MembershipsController < MyProfileController @back_to = params[:back_to] || url_for(:action => 'index') if request.post? && @community.valid? @community = Community.create_after_moderation(user, params[:community].merge({:environment => environment})) + if @community.new_record? + session[:notice] = _('Your new community creation request will be evaluated by an administrator. You will be notified.') + end redirect_to @back_to return end -- libgit2 0.21.2