Skip to content

Commit

Permalink
remove binding.pry comments left in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jun 21, 2024
1 parent 6909137 commit 39ec336
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions app/helpers/concepts_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ def concept_tree_data(acronym, child, language, concept_schemes)
}
[children_link, data, href]
end
def concepts_tree_component(root, selected_concept, acronym, concept_schemes, language, sub_tree: false, id: nil, auto_click: false, submission: @submission)
#binding.pry
tree_component(root, selected_concept, target_frame: 'concept_show', sub_tree: sub_tree, id: id, auto_click: auto_click, submission: submission) do |child|

def concepts_tree_component(root, selected_concept, acronym, concept_schemes, language, sub_tree: false, id: nil,
auto_click: false, submission: @submission)
tree_component(root, selected_concept, target_frame: 'concept_show', sub_tree: sub_tree, id: id,
auto_click: auto_click, submission: submission) do |child|
concept_tree_data(acronym, child, language, concept_schemes)
end
end
Expand Down
2 changes: 1 addition & 1 deletion app/views/recommender/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
.title
= t('recommender.weights_configuration')
.inputs-container
-#binding.pry

.ninput
= render Input::RangeSliderComponent.new(label: t('recommender.coverage'), name: "wc", value: params[:wc] || 0.55, min: '0', max: '1', step: '0.01')
.ninput
Expand Down

0 comments on commit 39ec336

Please sign in to comment.