Move creation of favorites into controller. Also adding merge request to owner's...
authorMarius Mathiesen <marius@shortcut.no>
Thu, 10 Dec 2009 12:26:32 +0000 (13:26 +0100)
committerMarius Mathiesen <marius@shortcut.no>
Thu, 10 Dec 2009 12:28:28 +0000 (13:28 +0100)
commit28bace545fd5590c66a4a3c4b45a99b7a9d31270
tree9862256371aa2be9e1620c70f2851663ba65a1cb
parent61cfb16a75e65f085cd3480fe954472e63c0d207
Move creation of favorites into controller.  Also adding merge request to owner's favorites upon creation
app/controllers/favorites_controller.rb
app/models/favorite.rb
app/models/merge_request.rb
test/unit/favorite_test.rb
test/unit/merge_request_test.rb