mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-23 10:40:13 +01:00
Removes redundent assignment of @new_project
This commit is contained in:
parent
436cc862d6
commit
c2d627bb43
1 changed files with 0 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ class ProjectsController < ApplicationController
|
||||||
@completed_count = current_user.projects.completed.count
|
@completed_count = current_user.projects.completed.count
|
||||||
@no_projects = current_user.projects.empty?
|
@no_projects = current_user.projects.empty?
|
||||||
current_user.projects.cache_note_counts
|
current_user.projects.cache_note_counts
|
||||||
@new_project = current_user.projects.build
|
|
||||||
end
|
end
|
||||||
format.m do
|
format.m do
|
||||||
@completed_projects = current_user.projects.completed
|
@completed_projects = current_user.projects.completed
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue