asciinema.org/app/controllers/docs_controller.rb
2012-07-25 20:24:20 +02:00

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