I am currently using Ember Cli version: 0.2.3
Exploring Ember for the first time and experimenting with a simple app.
This is what I have in my templates/about.hbs
<h1>About</h1>
<p>Adding something interesting here</p>
<button type="btn btn=primary"{{action 'clickMe'}}>Click me!</button>
and in my controllers/about_controller.js
Blogger.AboutController = Ember.Controller.extend({
actions: {
clickMe: function() {
alert('Trying something new');
}
}
});
Upon clicking the button, I encountered an error and after checking the syntax, I'm unable to identify what's causing it. I need a fresh perspective on this.
Uncaught Error: Nothing handled the action 'clickMe'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.
Although I understand the message, I am unsure of how to resolve this issue at the moment.