Sha256: a56207a5fbc6edc88c7711d13d7b8fef8c27b7e6836aa1543976414e2a4b516e
Contents?: true
Size: 372 Bytes
Versions: 3
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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bbq-0.2.1 | lib/bbq/rails/routes.rb |
bbq-0.2.0 | lib/bbq/rails/routes.rb |
bbq-0.1.0 | lib/bbq/rails/routes.rb |