Sha256: 1015cafdc0f53706b87f2b73128a90dc85fffad6f78df5db2381563c5bcff2a8

Contents?: true

Size: 215 Bytes

Versions: 11

Compression:

Stored size: 215 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    def extface_for(resource, options = {})
      mapping = Extface.add_mapping(resource, options)
      mount Extface::Engine, at: mapping.mount_point
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
extface-0.1.3 lib/extface/routes.rb
extface-0.1.2 lib/extface/routes.rb
extface-0.1.1 lib/extface/routes.rb
extface-0.1.0 lib/extface/routes.rb
extface-0.0.8 lib/extface/routes.rb
extface-0.0.7 lib/extface/routes.rb
extface-0.0.6 lib/extface/routes.rb
extface-0.0.5 lib/extface/routes.rb
extface-0.0.3 lib/extface/routes.rb
extface-0.0.2 lib/extface/routes.rb
extface-0.0.1 lib/extface/routes.rb