Module: CASServer::Localization
- Included in:
- Server
- Defined in:
- lib/casserver/localization.rb
Class Method Summary collapse
Class Method Details
.included(mod) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/casserver/localization.rb', line 5 def self.included(mod) mod.module_eval do register Sinatra::R18n set :default_locale, 'en' set :translations, File.dirname(__FILE__) + "/../../locales" end end |