• Markus Koller's avatar
    Support more types in UrlBuilder · 10afe1b0
    Markus Koller authored
    - Add support for projects and groups.
    - Add support for building path-only URLs.
    - Reuse it in `HasRepository#web_url`.
    - Remove state and turn the class into a singleton.
    - Provide a default instance in presenters.
    - Rewrite specs with parameterized table syntax.
    10afe1b0
project_snippet.rb 174 Bytes