Skip to content

Commit

Permalink
add init.rb activating activating translations, static backend and li…
Browse files Browse the repository at this point in the history
…b/locale load_path
  • Loading branch information
Sven Fuchs committed Sep 17, 2008
1 parent d7eb22e commit f19e3ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions init.rb
@@ -0,0 +1,7 @@
ActiveRecord::Base.send :include, Globalize::Model::ActiveRecord::Translated

I18n.backend = Globalize::Backend::Static.new

I18n.load_path = Globalize::LoadPath.new
I18n.load_path << "#{RAILS_ROOT}/lib/locale"

0 comments on commit f19e3ea

Please sign in to comment.