Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 59776e1e03
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.26 kb
require 'sinatra/r18n'
module CASServer
module Localization
def self.included(mod)
mod.module_eval do
register Sinatra::R18n
::R18n.default_places { File.dirname( File.dirname self.root ) + "/locales" }
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.