Created
May 25, 2012 09:04
-
-
Save pokonski/2786826 to your computer and use it in GitHub Desktop.
public_activity example
This file contains hidden or 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
activity: | |
article: | |
create: 'Article has been created' | |
update: 'Someone has edited the article' | |
destroy: 'Some user removed an article!' |
This file contains hidden or 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
# config/initializers/pba.rb | |
PublicActivity::Activity.template = YAML.load_file("#{Rails.root}/config/pba.yml") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment