tracks/app
Matt Rogers 4d2f25ab20 Refactor the fetching of done todos
Move the get_done_today, get_done_this_week, and get_done_this month
methods into their own class in lib/tracks and use the new class in the
context, project, and todo controllers.

This removes the complexity from the application controller, silos it
off, and slightly reduces the complexity of the other controllers so
that they don't have to duplicate as much code.

The tradeoff here is that the code that was moved out into its own class
was also duplicated in the todos controller due to a different use case
that I didn't see before. This is still an improvement however and so
I'm ok with going back and tackling the extra complexity added to
TodoController at a later date.
2012-11-27 23:07:46 -06:00
..
assets Creating new todo link for context headers 2012-11-26 10:14:55 -06:00
controllers Refactor the fetching of done todos 2012-11-27 23:07:46 -06:00
helpers convert rollovers to pure CSS with sprites 2012-09-29 09:56:51 -04:00
mailers initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
models Don't sort todos when counting them 2012-10-04 10:43:22 -04:00
views Creating new todo link for context headers 2012-11-26 10:14:55 -06:00