small fix

This commit is contained in:
Harry Bomrah 2017-11-30 17:59:06 +08:00
parent 45f5c3275c
commit fba24af824
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class Admin::SitePanelController < OrbitAdminController
def create def create
site_construct = SiteConstruct.new(site_construct_params) site_construct = SiteConstruct.new(site_construct_params)
site_construct.member_id = current_user.id.to_s site_construct.user_id = current_user.id.to_s
site_construct.save site_construct.save
redirect_to admin_site_panel_path("msg" => "success") redirect_to admin_site_panel_path("msg" => "success")
end end