Context refactoring. Move Issues list, Search logic to context
This commit is contained in:
parent
63fe042d97
commit
679d0d6d76
15 changed files with 100 additions and 83 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue