This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How you could do what you want in Ember | |
App.Router.map(function(){ | |
this.resource("userSession", function(){ | |
this.route("new", { path: "/sign-in" }); | |
}) | |
}); | |
// However, any time you create a resource you have an extra layer of routing | |
// & a model that you may/may not want. In the case of sign-in, which doesn't |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* So I didn't really address the naming piece, but I'd start by going down this route */ | |
public class Task : ActiveRecord | |
{ | |
public string Name { get; set; } | |
public int AssignedTo_UserId { get; set; } | |
public DateTime DueOn { get; set; } | |
private INotifier _notifier; | |