Refactor episode to partials