diff --git a/app/controllers/spree/admin/orders_controller.rb b/app/controllers/spree/admin/orders_controller.rb index 682aedddcb..994b9d5bc7 100644 --- a/app/controllers/spree/admin/orders_controller.rb +++ b/app/controllers/spree/admin/orders_controller.rb @@ -161,7 +161,7 @@ def scope def order_params params[:created_by_id] = try_spree_current_user.try(:id) - params.permit(:created_by_id, :user_id, :store_id, :channel) + params.permit(:created_by_id, :user_id, :store_id, :channel_id) end def load_order diff --git a/app/views/spree/admin/orders/_channel_form.html.erb b/app/views/spree/admin/orders/_channel_form.html.erb index 24f9aa510f..0a6b46c246 100644 --- a/app/views/spree/admin/orders/_channel_form.html.erb +++ b/app/views/spree/admin/orders/_channel_form.html.erb @@ -1,18 +1,16 @@