Created
December 27, 2019 20:52
-
-
Save cmorss/8b797e480db5c362c56feb080b38e42f 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 create | |
self.resource = resource_class.send_confirmation_instructions(resource_params) | |
yield resource if block_given? | |
render_resource(resource, blueprint: :admin) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment