gitlab-org--gitlab-foss/app/controllers/repositories_controller.rb

15 lines
303 B
Ruby
Raw Normal View History

class RepositoriesController < ApplicationController
before_filter :project
# Authorize
before_filter :add_project_abilities
before_filter :authorize_read_project!
before_filter :require_non_empty_project
layout "project"
def show
@activities = @project.fresh_commits(20)
end
end