Sha256: cb05cd0e2f4e23e0cf61071fe7b689a2cd3039341d6256a65c70c3921cc2e486
Contents?: true
Size: 850 Bytes
Versions: 2
Compression:
Stored size: 850 Bytes
Contents
if Rails::VERSION::STRING.in? ["2.1.0", "2.1.1"] module ActionController module Routing class RouteSet def clear_recognize_optimized! instance_eval %{ def recognize_optimized(path, env) write_recognize_optimized recognize_optimized(path, env) end }, __FILE__, __LINE__ end def clear_with_optimization! clear_without_optimization! clear_recognize_optimized! end alias_method_chain :clear!, :optimization end end end else RAILS_DEFAULT_LOGGER.info "****" RAILS_DEFAULT_LOGGER.info "**** The file config/initializers/patch_routing.rb is not in use" RAILS_DEFAULT_LOGGER.info "**** with this version of Rails and can be removed" RAILS_DEFAULT_LOGGER.info "****" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hobo-0.8.2 | rails_generators/hobo/templates/patch_routing.rb |
hobo-0.8.3 | rails_generators/hobo/templates/patch_routing.rb |