• Timothy Andrew's avatar
    Hook up the updated `WikiLinkFilter` to the wiki controllers. · e6b1d166
    Timothy Andrew authored
    - Need to pass in a `page_slug` to the filter, so it can rewrite based
      on the current page (all links are rewritten to the level of the app root).
    - The earlier `markdown_preview` endpoint was at the level of the wiki.
      We need to know the current page (for rewriting, as above), so this
      commit moves the endpoint to the level of a wiki page.
    - Fix all tests
    e6b1d166
gitlab_markdown_helper_spec.rb 6.22 KB