Sha256: 02c7d2004b3eae1c4a9f2f256cfc07a39c6b5085f89396ca3472c28d76693168
Contents?: true
Size: 273 Bytes
Versions: 10
Compression:
Stored size: 273 Bytes
Contents
# frozen_string_literal: true module SolidusBolt class AccountsController < BaseController def create Spree::User.find_by!(email: permitted_params[:email]) head :ok end private def permitted_params params[:account] end end end
Version data entries
10 entries across 10 versions & 1 rubygems