gitlab-org--gitlab-foss/app/controllers/help_controller.rb
2015-03-08 14:46:22 -07:00

21 lines
309 B
Ruby

class HelpController < ApplicationController
def index
end
def show
@category = params[:category]
@file = params[:file]
if File.exists?(Rails.root.join('doc', @category, @file + '.md'))
render 'show'
else
not_found!
end
end
def shortcuts
end
def ui
end
end