diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-15 15:31:49 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-15 15:31:49 +0200 |
commit | 7bcd112a297fede6ce58801ae462664a246d0442 (patch) | |
tree | 8b511179dd226b2758202e2af747cd9448ae9174 /app/controllers/projects/commit_controller.rb | |
parent | f19cdee8cc1e85066154d008ee2653d845c9f3cd (diff) | |
download | gitlab-ce-7bcd112a297fede6ce58801ae462664a246d0442.tar.gz |
Fix commit page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index 687026ed360..c56df65dcba 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -34,7 +34,7 @@ class Projects::CommitController < Projects::ApplicationController respond_to do |format| format.html do - if result[:status] == :huge_commit + if @status == :huge_commit render "huge_commit" and return end end |