summaryrefslogtreecommitdiffstats
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-06 16:40:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-06 16:40:33 +0000
commitb748455d96644968303fb0a3777a93e6de80d0aa (patch)
treed9c8953af6aa5d6384918b20ec21b35db5f71a36 /app/controllers/projects_controller.rb
parent7eb64715595abded9e5ef4bcbc06aa203c6f23a8 (diff)
downloadredmine-b748455d96644968303fb0a3777a93e6de80d0aa.tar.gz
redmine-b748455d96644968303fb0a3777a93e6de80d0aa.zip
Added fragment caching for calendar and gantt views
git-svn-id: http://redmine.rubyforge.org/svn/trunk@515 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index a870cca2a..ca6ea8d8e 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -21,6 +21,8 @@ class ProjectsController < ApplicationController
layout 'base'
before_filter :find_project, :authorize, :except => [ :index, :list, :add ]
before_filter :require_admin, :only => [ :add, :destroy ]
+
+ cache_sweeper :issue_sweeper, :only => [ :add_issue ]
helper :sort
include SortHelper