Skip to content

Commit

Permalink
can just use pagecontent attr on templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Whitton committed Apr 20, 2017
1 parent 3ad9f15 commit f69846e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/channel/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export default Route.extend(PlayParamMixin, {
set(this, 'listingSlug', listingSlug);

let listenLive = this.store.findRecord('chunk', `shows-${params.slug}-listenlive`)
.then(c => this.store.createRecord('django-page', {text: c.get('content')}))
.catch(() => {});
.catch(() => '');

return this.store.find('django-page', listingSlug.replace(/\/*$/, '/')).then(page => {
return waitFor({
Expand Down

0 comments on commit f69846e

Please sign in to comment.