Skip to content

Commit

Permalink
Fix loading ACTION symbol on canary
Browse files Browse the repository at this point in the history
  • Loading branch information
XiphiasUvella committed Jun 10, 2016
1 parent 1fbc203 commit 4031aab
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion addon/-private/closure-action.js
@@ -1,5 +1,11 @@
import Ember from 'ember';

const ClosureActionModule = Ember.__loader.require('ember-routing-htmlbars/keywords/closure-action');
let ClosureActionModule;

if ('ember-htmlbars/keywords/closure-action' in Ember.__loader.registry) {
ClosureActionModule = Ember.__loader.require('ember-htmlbars/keywords/closure-action');
} else {
ClosureActionModule = Ember.__loader.require('ember-routing-htmlbars/keywords/closure-action');
}

export default ClosureActionModule.ACTION;

0 comments on commit 4031aab

Please sign in to comment.