summaryrefslogtreecommitdiff
path: root/app/controllers/help_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-14 15:51:07 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-14 15:51:07 +0300
commit6a7990c007f2349f3093aef3e70eaa8c092033c8 (patch)
tree56987c18f348121d0d4073438f97a1181aaff46b /app/controllers/help_controller.rb
parent68e4df7065ebb805d8215b8c28f0eaf510dec17f (diff)
downloadgitlab-ce-6a7990c007f2349f3093aef3e70eaa8c092033c8.tar.gz
Remove garbage and apply wiki style
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r--app/controllers/help_controller.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb
index a4fcd4b29e8..fc498559d6b 100644
--- a/app/controllers/help_controller.rb
+++ b/app/controllers/help_controller.rb
@@ -2,17 +2,6 @@ class HelpController < ApplicationController
def index
end
- def api
- @category = params[:category]
- @category = "README" if @category.blank?
-
- if File.exists?(Rails.root.join('doc', 'api', @category + '.md'))
- render 'api'
- else
- not_found!
- end
- end
-
def show
@category = params[:category]
@file = params[:file]