Sha256: 8c6e77cd2befe84191ab10a277314238c9a757dec39e2b53cdeca4e694b1569e
Contents?: true
Size: 459 Bytes
Versions: 8
Compression:
Stored size: 459 Bytes
Contents
module MagicGrid class Engine < ::Rails::Engine # Once in production, on every page view in development config.to_prepare do |app| # no caching based on path like require does load 'magic_grid/helpers.rb' end initializer "magic_grid" do |app| # Provide some fallback translations that users can override app.config.i18n.load_path += Dir.glob(File.expand_path('../../locales/*.{rb,yml}', __FILE__)) end end end
Version data entries
8 entries across 8 versions & 1 rubygems