Skip to content

Instantly share code, notes, and snippets.

@marcus
Created October 30, 2008 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcus/21105 to your computer and use it in GitHub Desktop.
Save marcus/21105 to your computer and use it in GitHub Desktop.
EmailsController = MVC.Controller.extend('emails',
/* @Static */
{
},
/* @Prototype */
{
load: function(params) {
this.render({action: 'email_index', to: "emails"})
},
email_index: function(params) {
this.render(
{
data: { me: "marcus"}
}
);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment