Commit 47359140 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Update syntax

parent f0bdf5c6
- show_whitespace_toggle = local_assigns.fetch :show_whitespace_toggle, true
- show_whitespace_toggle = local_assigns.fetch(:show_whitespace_toggle, true)
- if diff_view == 'parallel'
- fluid_layout true
......@@ -9,7 +9,7 @@
- if show_whitespace_toggle
- if current_controller?(:commit)
= commit_diff_whitespace_link(@project, @commit)
- if current_controller?(:merge_requests)
- elsif current_controller?(:merge_requests)
= diff_merge_request_whitespace_link(@project, @merge_request)
.btn-group
= inline_diff_btn
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment