mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
Make welcome-hero close into an action
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
|
||||
needs: ['index'],
|
||||
|
||||
user: Ember.Object.create({avatarNumber: 1}),
|
||||
|
||||
showing: false,
|
||||
|
||||
title: 'Replying to <em>Some Discussion Title</em>',
|
||||
|
||||
actions: {
|
||||
close: function() {
|
||||
this.set('showing', false);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
Reference in New Issue
Block a user