class TranscriptsController < ApplicationController session :off before_filter :load_episode_lists caches_page :index, :show # GET /transcripts # GET /transcripts.xml def index @transcripts = @program.episodes.find_all_by_has_transcript(true, :order => "transcript_published_at DESC") respond_to do |format| format.html # index.rhtml format.xml { render :xml => @program.to_rss('transcript') } end end # GET /transcripts/1 # GET /transcripts/1.xml def show @transcript = @program.episodes.find_by_permalink(params[:id]) respond_to do |format| format.html # show.rhtml end end end