Commit bd09b2d5 authored by Connor Shea's avatar Connor Shea

Clean path info

parent 3358afa7
...@@ -12,7 +12,7 @@ class HelpController < ApplicationController ...@@ -12,7 +12,7 @@ class HelpController < ApplicationController
end end
def show def show
@path = path_params[:path] @path = clean_path_info(path_params[:path])
respond_to do |format| respond_to do |format|
format.any(:markdown, :md, :html) do format.any(:markdown, :md, :html) do
......
Markdown is supported
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