removed activities page cache cause some bugs
This commit is contained in:
parent
21d566ea76
commit
b4c40c212c
|
@ -11,9 +11,6 @@ class ProjectsController < ApplicationController
|
||||||
before_filter :require_non_empty_project, :only => [:blob, :tree]
|
before_filter :require_non_empty_project, :only => [:blob, :tree]
|
||||||
before_filter :load_refs, :only => :tree # load @branch, @tag & @ref
|
before_filter :load_refs, :only => :tree # load @branch, @tag & @ref
|
||||||
|
|
||||||
# expire show page every 4 minute
|
|
||||||
caches_action :show, :expires_in => 4.minutes
|
|
||||||
|
|
||||||
def index
|
def index
|
||||||
source = current_user.projects
|
source = current_user.projects
|
||||||
source = source.tagged_with(params[:tag]) unless params[:tag].blank?
|
source = source.tagged_with(params[:tag]) unless params[:tag].blank?
|
||||||
|
|
Loading…
Reference in a new issue