Sha256: 96770784cd388ded7194a216928fb9825f00d2a77eca00efac33c932563dea3a

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

# Sinatra Named Routes w/ Subdomain support

Based on sinatra-named-routes by ckhampus: https://github.com/ckhampus/sinatra-named-routes.

## Subdomain Usage

```ruby
map :named_route, '/myroute/:some_id'
url( :named_route, true, :some_id => 123, :subdomain => 'mysubdomain' )
```

```
http://mysubdomain.myhost.com/myroute/123
```

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sinatra-named-routes-subdomains-0.1.7 README.md
sinatra-named-routes-subdomains-0.1.6 README.md
sinatra-named-routes-subdomains-0.1.5 README.md
sinatra-named-routes-subdomains-0.1.4 README.md
sinatra-named-routes-subdomains-0.1.3 README.md
sinatra-named-routes-subdomains-0.1.2 README.md
sinatra-named-routes-subdomains-0.1.1 README.md
sinatra-named-routes-subdomains-0.1.0 README.md