Skip to content

Instantly share code, notes, and snippets.

@voodoologic
Created May 29, 2012 20:43
Show Gist options
  • Save voodoologic/2830601 to your computer and use it in GitHub Desktop.
Save voodoologic/2830601 to your computer and use it in GitHub Desktop.
get '/:property/:actor' do |property, actor|
@actor = Actor.find_by_tv_show_and_character property, actor
@ad_data = AdTracker.setup
@clip_list = ClipList.initialize_from_file(@actor.lists.detect{|list| list["kind"] == "episode-list"}["location"])
@clips = @clip_list.list
erb :"actors/show", :layout => :"layouts/application"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment