Implement tags cloud support for projects

This commit is contained in:
Aleksei Kvitinskii 2011-11-05 22:21:03 +02:00
commit 072b2d5de8
18 changed files with 162 additions and 109 deletions

View file

@ -92,10 +92,7 @@ class ProjectsController < ApplicationController
respond_to do |format|
format.html
format.js do
@notes = @notes.where("id > ?", params[:last_id]) if params[:last_id]
@notes = @notes.where("id < ?", params[:first_id]) if params[:first_id]
end
format.js { respond_with_notes }
end
end