small fix
This commit is contained in:
parent
45f5c3275c
commit
fba24af824
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue