1
0
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:
Toby Zerner
2015-01-30 12:13:06 +10:30
parent 9938c346a1
commit d43db32698
3 changed files with 5 additions and 25 deletions

View File

@@ -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);
}
}
});