public
Description: Store translation strings in the database allowing you to update text without requiring a code deploy.
Clone URL: git://github.com/caring/gibberish_db.git
dustin (author)
Thu Apr 24 13:04:31 -0700 2008
dustin (committer)
Thu Apr 24 13:06:34 -0700 2008
commit  f29a9a3715153621c32c2cec6e560a4f19e07d14
tree    75f222402643a28ecc73d42c3b78f35ffdca048a
parent  aa337e299d4a14e3747805378bd65db5fdee9cc3
gibberish_db / init.rb
100644 6 lines (5 sloc) 0.154 kb
1
2
3
4
5
6
require 'gibberish_db'
require 'gibberish_db/gibberish_helper'
 
ActionController::Base.send :after_filter do
  Gibberish::Localize::reset_translations
end