fix error

This commit is contained in:
BOYA,CHIU 2021-07-21 12:22:32 +08:00
parent 7f0ad9bb33
commit edebe368bf
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class Admin::SitePanelController < OrbitAdminController
end end
end end
def create def create
server_abiliy = ServerAbility.first server_ability = ServerAbility.first
if server_ability.available if server_ability.available
site_construct = SiteConstruct.new(site_construct_params) site_construct = SiteConstruct.new(site_construct_params)
site_construct.user_id = current_user.id.to_s site_construct.user_id = current_user.id.to_s