Sha256: 1ef6717a065783b0f61c2e06119c802011e488ed255edb64f5ddab4f13dd4719
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
module Bbq module Rails module Routes def self.included(klass) klass.send(:include, ::ActionDispatch::Routing::UrlFor) klass.send(:include, ::Rails.application.routes.url_helpers) unless ::Rails.version < "3.1" klass.send(:include, ::ActionDispatch::Routing::RouteSet::MountedHelpers) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bbq-rails-0.4.0 | lib/bbq/rails/routes.rb |
bbq-rails-0.3.0 | lib/bbq/rails/routes.rb |