Unverified Commit 06c91aa2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Improve wiki path parsing in internal api

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 23c1c55a110a
......@@ -22,7 +22,7 @@ class Internal < Grape::API
# the wiki repository as well.
access =
if project_path =~ /\.wiki\Z/
project_path = project_path[0..-6]
project_path.sub!(/\.wiki\Z/, '')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment