Commit 7bcd112a297fede6ce58801ae462664a246d0442

Authored by Dmitriy Zaporozhets
1 parent f19cdee8

Fix commit page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/projects/commit_controller.rb
... ... @@ -34,7 +34,7 @@ class Projects::CommitController &lt; Projects::ApplicationController
34 34  
35 35 respond_to do |format|
36 36 format.html do
37   - if result[:status] == :huge_commit
  37 + if @status == :huge_commit
38 38 render "huge_commit" and return
39 39 end
40 40 end
... ...