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.
|
# frozen_string_literal: true |
|
|
|
class SubjectsReflex < ApplicationReflex |
|
def load_sidenav_accordion(search_results, opts = {}) |
|
morph "#" |
|
end |
|
|
|
def save |
|
raise @subject_index.inspect |
|
end |
|
|
|
private |
|
|
|
def resource_params |
|
params.permit(:name, :parent_id, library_ids: []) |
|
end |
|
end
|
|
|