4602ded8a4
* start on access requests * set up access requests further * set default values for approved and answered
12 lines
381 B
Ruby
12 lines
381 B
Ruby
# frozen_string_literal: true
|
|
# Preview all emails at http://localhost:3000/rails/mailers/map_mailer
|
|
class MapMailerPreview < ActionMailer::Preview
|
|
def invite_to_edit_email
|
|
MapMailer.invite_to_edit_email(Map.first, User.first, User.second)
|
|
end
|
|
|
|
def access_request_email
|
|
request = AccessRequest.first
|
|
MapMailer.access_request_email(request, request.map)
|
|
end
|
|
end
|