Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class RegistrationsController < Devise::RegistrationsController
- after_action :run_function, only: [:create]
- def create
- super
- end
- protected
- def run_function
- @sketch = current_user.sketches.build(attribute: "value")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement