Skip to content

Instantly share code, notes, and snippets.

@adrianmann
Last active December 16, 2019 13:21
Show Gist options
  • Save adrianmann/927b7c5531a967383298c32d8ee7a381 to your computer and use it in GitHub Desktop.
Save adrianmann/927b7c5531a967383298c32d8ee7a381 to your computer and use it in GitHub Desktop.
def accept
@estimate.update!(status: true)
redirect_to @estimate
end
def reject
@estimate.update!(status: false)
redirect_to @estimate
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment