From 6a7990c007f2349f3093aef3e70eaa8c092033c8 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 14 Jun 2014 15:51:07 +0300 Subject: Remove garbage and apply wiki style Signed-off-by: Dmitriy Zaporozhets --- app/controllers/help_controller.rb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'app/controllers/help_controller.rb') 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] -- cgit v1.2.1