Commit b4c40c212c377ee04bb16065388c24b4bd3ec656

Authored by Dmitriy Zaporozhets
1 parent 21d566ea

removed activities page cache cause some bugs

Showing 1 changed file with 0 additions and 3 deletions   Show diff stats
app/controllers/projects_controller.rb
@@ -11,9 +11,6 @@ class ProjectsController < ApplicationController @@ -11,9 +11,6 @@ class ProjectsController < ApplicationController
11 before_filter :require_non_empty_project, :only => [:blob, :tree] 11 before_filter :require_non_empty_project, :only => [:blob, :tree]
12 before_filter :load_refs, :only => :tree # load @branch, @tag & @ref 12 before_filter :load_refs, :only => :tree # load @branch, @tag & @ref
13 13
14 - # expire show page every 4 minute  
15 - caches_action :show, :expires_in => 4.minutes  
16 -  
17 def index 14 def index
18 source = current_user.projects 15 source = current_user.projects
19 source = source.tagged_with(params[:tag]) unless params[:tag].blank? 16 source = source.tagged_with(params[:tag]) unless params[:tag].blank?