app/controllers/extensions_controller.rb
#
# POST /extensions/:id/adoption
#
# Sends an email to the extension owner letting them know that someone is
# interested in adopting their extension.
#
POST /extensions/:id/adoption
Sends an email to the extension owner letting them know that someone is
interested in adopting their extension.
POST / extensions / : id / adoption Sends an email to the extension owner letting them know that someone is interested in adopting their extension .
def adoption
    AdoptionMailer.delay.interest_email(@extension, current_user)
    redirect_to(
      owner_scoped_extension_url(@extension),
      notice: t(
        'adoption.email_sent',
        extension_or_tool: @extension.name
      )
    )
  end
def adoption AdoptionMailer . delay . interest_email ( @extension , current_user ) redirect_to ( owner_scoped_extension_url ( @extension ) , notice : t ( 'adoption.email_sent' , extension_or_tool : @extension . name ) ) end
POST /extensions/:id/adoption
Sends an email to the extension owner letting them know that someone is
interested in adopting their extension.
POST / extensions / : id / adoption Sends an email to the extension owner letting them know that someone is interested in adopting their extension .