模式默认选中
This commit is contained in:
parent
756a2db4aa
commit
4797cbe65d
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue