Fix commit page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f19cdee8cc
commit
7bcd112a29
|
@ -34,7 +34,7 @@ class Projects::CommitController < Projects::ApplicationController
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html do
|
format.html do
|
||||||
if result[:status] == :huge_commit
|
if @status == :huge_commit
|
||||||
render "huge_commit" and return
|
render "huge_commit" and return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue