mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
removed whitespaces and matched the style with the todo_controller.rb (unless)
This commit is contained in:
parent
725ff5e0fa
commit
0f39034986
1 changed files with 3 additions and 3 deletions
|
|
@ -97,9 +97,9 @@ class ProjectsController < ApplicationController
|
|||
|
||||
@done = {}
|
||||
@done = @project.todos.find_in_state(:all, :completed,
|
||||
:order => "todos.completed_at DESC",
|
||||
:limit => current_user.prefs.show_number_completed,
|
||||
:include => Todo::DEFAULT_INCLUDES) if current_user.prefs.show_number_completed > 0
|
||||
:order => "todos.completed_at DESC",
|
||||
:limit => current_user.prefs.show_number_completed,
|
||||
:include => Todo::DEFAULT_INCLUDES) unless current_user.prefs.show_number_completed == 0
|
||||
|
||||
@count = @not_done.size
|
||||
@down_count = @count + @deferred.size + @pending.size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue