Skip to content

Instantly share code, notes, and snippets.

@smcabrera
Created December 15, 2015 23:31
Show Gist options
  • Select an option

  • Save smcabrera/92bc330ddaf233fc29a8 to your computer and use it in GitHub Desktop.

Select an option

Save smcabrera/92bc330ddaf233fc29a8 to your computer and use it in GitHub Desktop.
def notify_of_request
if current_property_group.third_party? && (cannot? :coordinate, current_property_group)
ProposalRequestMailer.delay.confirm_request(@proposal_request.id)
ProposalRequestMailer.delay.notify_of_request(@proposal_request.id,
current_property_group.third_party.id
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment