模式默认选中

This commit is contained in:
huang 2016-03-31 19:09:11 +08:00
parent 756a2db4aa
commit 4797cbe65d
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class OrganizationsController < ApplicationController
@organization.description = params[:organization][:description]
@organization.is_public = params[:organization][:is_public]
@organization.allow_guest_download = params[:organization][:allow_guest_download] == '1' ? 1 : 0
@organization.show_mode = params[:show_mode]
@organization.show_mode = 0
@organization.creator_id = User.current.id
member = OrgMember.new(:user_id => User.current.id)