Sha256: bc4ca0cf95ac7a2b805031a001f8a73650c84005392de27442005cb202a5dd74
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
module FxosRails class Manifest def t(*args) I18n.t(*args) end def as_json(*) { name: t('app.name'), description: t('app.description'), version: t('app.version'), icons: { "60" => "/icons/icon-60.png", "64" => "/icons/icon-64.png", "128" => "/icons/icon-128.png", }, developer: { name: t('app.developer.name'), url: t('app.developer.url'), }, type: 'web', default_locale: I18n.locale, launch_path: '/index.html' } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fxos_rails-1.2.0 | lib/fxos_rails/manifest.rb |