Last active
December 16, 2019 13:21
-
-
Save adrianmann/927b7c5531a967383298c32d8ee7a381 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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