mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 08:41:11 +08:00
Upgrade to Babel 6
This commit is contained in:
@ -18,7 +18,7 @@ export default Ember.Component.extend({
|
||||
|
||||
actions: {
|
||||
submit: function() {
|
||||
const Permalink = require('admin/models/permalink').default;
|
||||
const Permalink = requirejs('admin/models/permalink').default;
|
||||
|
||||
if (!this.get('formSubmitted')) {
|
||||
const self = this;
|
||||
|
Reference in New Issue
Block a user