Skip to content
Snippets Groups Projects
Commit f294b8d4 authored by gitlabhq's avatar gitlabhq
Browse files

activity page cache

parent 91045358
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,6 +11,9 @@ class ProjectsController < ApplicationController
before_filter :require_non_empty_project, :only => [:blob, :tree]
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
source = current_user.projects
source = source.tagged_with(params[:tag]) unless params[:tag].blank?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment