code cleanin

This commit is contained in:
Dmitriy Zaporozhets 2011-12-30 21:56:34 +02:00
parent 0f627a65f4
commit 61a2ce4110
5 changed files with 33 additions and 22 deletions

View file

@ -73,7 +73,7 @@ class ProjectsController < ApplicationController
end
def files
@notes = @project.notes.where("attachment != 'NULL'").order("created_at DESC")
@notes = @project.notes.where("attachment != 'NULL'").order("created_at DESC").limit(100)
end
def info