summaryrefslogtreecommitdiff
path: root/lib/api/files.rb
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-06-08 10:32:50 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-06-09 10:15:01 +0530
commite6b1d1669b362ad4cea27ac44e89e73f4d6e92fd (patch)
treec95b552cb18d42067161429cc738a40a3794b467 /lib/api/files.rb
parent8e71c19a6940b8d82c70ee9b2550b62b5169eb54 (diff)
downloadgitlab-ce-e6b1d1669b362ad4cea27ac44e89e73f4d6e92fd.tar.gz
Hook up the updated `WikiLinkFilter` to the wiki controllers.
- 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
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions