Context refactoring. Move Issues list, Search logic to context

This commit is contained in:
randx 2012-10-09 22:09:46 +03:00
parent 63fe042d97
commit 679d0d6d76
15 changed files with 100 additions and 83 deletions

View file

@ -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