You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

7 lines
277 B

# frozen_string_literal: true
class SubjectsReflex < ApplicationReflex
def render_subjects_accordion(search_results, opts = {})
morph opts[:accordionTarget], render(partial: "/shared/subjects_accordion", locals: { search_results: search_results, opts: opts })
end
end