Last active
December 10, 2015 08:48
-
-
Save gil27/4410459 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
# Isso ira criar um arquivo app/models/cards_list_observer.rb | |
# Edite-o para que fique desta maneira: | |
class CardsListObserver < ActiveRecord::Observer | |
def after_create(images) | |
Notifier.cards_selected(images).deliver | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment