11 lines
217 B
Ruby
11 lines
217 B
Ruby
|
class DocsController < ApplicationController
|
||
|
layout 'docs'
|
||
|
|
||
|
rescue_from ActionView::MissingTemplate, :with => :not_found
|
||
|
|
||
|
def show
|
||
|
@current_category = params[:page].to_sym
|
||
|
render params[:page]
|
||
|
end
|
||
|
end
|