gitlab-org--gitlab-foss/app/controllers/help_controller.rb

19 lines
293 B
Ruby
Raw Normal View History

class HelpController < ApplicationController
def index
end
2013-06-06 06:19:23 -04:00
2014-04-18 11:21:21 -04:00
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
2013-06-30 15:10:52 -04:00
def shortcuts
end
end