Sha256: d2136a5dfa9c3a28e1411af5502147a85e115b02170dc14f6a096737c05c0cef
Contents?: true
Size: 670 Bytes
Versions: 6
Compression:
Stored size: 670 Bytes
Contents
module Responders autoload :FlashResponder, 'responders/flash_responder' autoload :HttpCacheResponder, 'responders/http_cache_responder' class Railtie < ::Rails::Railtie railtie_name :responders config.generators.scaffold_controller = :responders_controller # Add load paths straight to I18n, so engines and application can overwrite it. require 'active_support/i18n' I18n.load_path << File.expand_path('../responders/locales/en.yml', __FILE__) initializer "responders.flash_responder" do if config.responders.flash_keys Responders::FlashResponder.flash_keys = config.responders.flash_keys end end end end
Version data entries
6 entries across 6 versions & 1 rubygems