Skip to content

Commit 106fffc

Browse files
authored
Update app/helpers/application_helper.rb
1 parent 7dbb015 commit 106fffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def html_data_attributes
9797

9898
{
9999
'data-default-locale' => I18n.default_locale,
100-
'data-events-enabled' => config.dig('codeocean_events', 'enabled'),
100+
'data-events-enabled' => config.dig(:+1: codeocean_events, :enabled),
101101
'data-flowr-enabled' => config.dig(:flowr, :enabled),
102102
'data-flowr-answers-per-query' => config.dig(:flowr, :answers_per_query) || 3,
103103
}

0 commit comments

Comments
 (0)