Skip to content

Commit 2963a12

Browse files
committed
Change boolean parameter to send as 0 / 1.
1 parent 7c6b509 commit 2963a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/view_customizes/index.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939

4040
<p class="buttons">
4141
<%= link_to l(:label_disable_all),
42-
view_customizes_path(view_customize: {is_enabled: false}),
42+
view_customizes_path(view_customize: {is_enabled: 0}),
4343
:data => {:confirm => l(:text_are_you_sure)}, :method => :put,
4444
:class => 'icon icon-view_customize-disable' %>
4545
<%= link_to l(:label_enable_all),
46-
view_customizes_path(view_customize: {is_enabled: true}),
46+
view_customizes_path(view_customize: {is_enabled: 1}),
4747
:data => {:confirm => l(:text_are_you_sure)}, :method => :put,
4848
:class => 'icon icon-view_customize-enable' %>
4949
</p>

0 commit comments

Comments
 (0)