Sha256: 743ad108e1883c2f69edb11d2e22e4e45edcc0121c4e8e291c9d3c3dda8b59fa
Contents?: true
Size: 365 Bytes
Versions: 16
Compression:
Stored size: 365 Bytes
Contents
module Workarea module Api module Storefront class EmailSignupsController < Api::Storefront::ApplicationController def show @email_signup = Workarea::Storefront::EmailSignupsViewModel.new end def create @signup = Workarea::Email::Signup.create!(email: params[:email]) end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems