Skip to content

Instantly share code, notes, and snippets.

@oleander
Created July 18, 2010 22:42
Show Gist options
  • Save oleander/480770 to your computer and use it in GitHub Desktop.
Save oleander/480770 to your computer and use it in GitHub Desktop.
def show
respond_to do |format|
format.xml {:xml => Movie.find_by_channel_id(params[:id])}
format.html { render :html => Movie.find(params[:id]) }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment