Commit 7bcd112a297fede6ce58801ae462664a246d0442
1 parent
f19cdee8
Exists in
spb-stable
and in
3 other branches
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 < Projects::ApplicationController | @@ -34,7 +34,7 @@ class Projects::CommitController < Projects::ApplicationController | ||
34 | 34 | ||
35 | respond_to do |format| | 35 | respond_to do |format| |
36 | format.html do | 36 | format.html do |
37 | - if result[:status] == :huge_commit | 37 | + if @status == :huge_commit |
38 | render "huge_commit" and return | 38 | render "huge_commit" and return |
39 | end | 39 | end |
40 | end | 40 | end |