code cleanin
This commit is contained in:
parent
0f627a65f4
commit
61a2ce4110
5 changed files with 33 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue