From 679d0d6d760b850e27c13f3ce0f812b8b081df7f Mon Sep 17 00:00:00 2001 From: randx Date: Tue, 9 Oct 2012 22:09:46 +0300 Subject: Context refactoring. Move Issues list, Search logic to context --- app/controllers/commit_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/commit_controller.rb') diff --git a/app/controllers/commit_controller.rb b/app/controllers/commit_controller.rb index 25a1f0fe708..97998352255 100644 --- a/app/controllers/commit_controller.rb +++ b/app/controllers/commit_controller.rb @@ -8,7 +8,7 @@ class CommitController < ProjectResourceController before_filter :require_non_empty_project def show - result = CommitLoad.new(project, current_user, params).execute + result = CommitLoadContext.new(project, current_user, params).execute @commit = result[:commit] git_not_found! unless @commit -- cgit v1.2.1