asciinema.org/app/controllers/asciicasts_controller.rb
2011-11-27 13:54:10 +01:00

12 lines
191 B
Ruby

class AsciicastsController < ApplicationController
def index
@asciicasts = Asciicast.order("created_at DESC")
end
def show
@asciicast = Asciicast.find(params[:id])
end
end