tracks/app/controllers
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
..
application_controller.rb Refactor the fetching of done todos 2012-11-27 23:07:46 -06:00
contexts_controller.rb Refactor the fetching of done todos 2012-11-27 23:07:46 -06:00
data_controller.rb all unit and functional tests are passing 2012-04-30 13:56:40 +02:00
feedlist_controller.rb Remove explicit mentioning of application layout where not needed 2012-09-03 20:24:20 +02:00
integrations_controller.rb small refactorings 2012-07-12 13:14:21 +02:00
login_controller.rb get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
notes_controller.rb get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
preferences_controller.rb Logut user after password change, Closes #1047 2011-10-24 21:47:15 +02:00
projects_controller.rb Refactor the fetching of done todos 2012-11-27 23:07:46 -06:00
recurring_todos_controller.rb all non-cucumber tests are passing 2012-04-30 13:56:41 +02:00
search_controller.rb make search and feedlist pass 2012-05-03 23:23:31 +02:00
stats_controller.rb remove code duplication 2012-09-08 13:31:22 -05:00
todos_controller.rb Refactor the fetching of done todos 2012-11-27 23:07:46 -06:00
users_controller.rb Fix wrong page title when adding a user 2012-10-26 17:19:40 -04:00