From 2ed7cbfba4ff3c6a4cf3e72515a0375544998de0 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 23 Jun 2013 19:47:22 +0300 Subject: Move projects controllers/views in Projects module --- app/controllers/graphs_controller.rb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 app/controllers/graphs_controller.rb (limited to 'app/controllers/graphs_controller.rb') diff --git a/app/controllers/graphs_controller.rb b/app/controllers/graphs_controller.rb deleted file mode 100644 index 6c2ac5fcbf4..00000000000 --- a/app/controllers/graphs_controller.rb +++ /dev/null @@ -1,17 +0,0 @@ -class GraphsController < ProjectResourceController - # Authorize - before_filter :authorize_read_project! - before_filter :authorize_code_access! - before_filter :require_non_empty_project - - def show - respond_to do |format| - format.html - format.js do - @repo = @project.repository - @stats = Gitlab::Git::GitStats.new(@repo.raw, @repo.root_ref) - @log = @stats.parsed_log.to_json rescue [] - end - end - end -end -- cgit v1.2.1