Removes redundent assignment of @new_project

This commit is contained in:
Devin Weaver 2012-06-07 15:54:58 -04:00
parent 436cc862d6
commit c2d627bb43

View file

@ -31,7 +31,6 @@ class ProjectsController < ApplicationController
@completed_count = current_user.projects.completed.count
@no_projects = current_user.projects.empty?
current_user.projects.cache_note_counts
@new_project = current_user.projects.build
end
format.m do
@completed_projects = current_user.projects.completed