Sha256: c4a7799fa130d90852bcbc38b590e32c3e23a337cdc278d9230b0dfbc0dcc261
Contents?: true
Size: 254 Bytes
Versions: 2
Compression:
Stored size: 254 Bytes
Contents
module Loaf module Translation def set_title! namespace = controller.controller_path.gsub("/", ".") action = controller.action_name i18n_options = { } I18n.t(title, i18n_options) end end end # Loaf
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loaf-0.1.1 | lib/loaf/translation.rb |
loaf-0.1.0 | lib/loaf/translation.rb |