Sha256: 6cf07a0396825580b1f103104550abdceed86d2d96ba12afd871efe0ec1143d2
Contents?: true
Size: 682 Bytes
Versions: 12
Compression:
Stored size: 682 Bytes
Contents
module Spree module Core class Engine < ::Rails::Engine def self.add_routes(&block) Spree::Deprecation.warn "Spree::Core::Engine.add_routes is deprecated, use Spree::Core::Engine.routes.draw instead" routes.draw(&block) end def self.append_routes(&block) Spree::Deprecation.warn "Spree::Core::Engine.append_routes is deprecated, use Spree::Core::Engine.routes.append instead" routes.append(&block) end def self.draw_routes(&block) Spree::Deprecation.warn "Spree::Core::Engine.draw_routes is deprecated, use Spree::Core::Engine.routes.draw instead" routes.draw(&block) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems