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