Sha256: a75de0a9346c9c21115158c971021b3937db4c88ea223f748560657289af6dbb
Contents?: true
Size: 253 Bytes
Versions: 4
Compression:
Stored size: 253 Bytes
Contents
module ActionDispatch::Routing class Mapper def droom droom_at('/') end def droom_at(prefix="/") prefix = "#{prefix}/" unless prefix.last == '/' mount Droom::Engine => "#{prefix}droom/", :as => :droom end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
droom-0.4.3 | lib/droom/routing.rb |
droom-0.4.2 | lib/droom/routing.rb |
droom-0.4.1 | lib/droom/routing.rb |
droom-0.2.1 | lib/droom/routing.rb |