OSC / ood_appkit

https://osc.github.io/Open-OnDemand/
MIT License
1 stars 2 forks source link

Set shell host to `default` if host: nil #40

Closed brianmcmichael closed 7 years ago

brianmcmichael commented 7 years ago

When creating a new Shell URL, if no host parameter is included, the URL defaults to .../ssh/default/users/..., however if a host: nil parameter is included, the path returns .../ssh//users/...

The shell url should use default if host param is nil.

https://github.com/OSC/ood_appkit/blob/master/lib/ood_appkit/urls/shell.rb#L16