Created
March 28, 2019 11:39
-
-
Save MaryKuz/d6ebafaf4718ba637875c344c2dd76e5 to your computer and use it in GitHub Desktop.
Action method in ApplicationController
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 create | |
build_resource | |
resource.save! | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment