Add SDG::RelatedListSelectorComponent to Debates
This commit is contained in:
@@ -55,7 +55,7 @@ class DebatesController < ApplicationController
|
||||
private
|
||||
|
||||
def debate_params
|
||||
attributes = [:tag_list, :terms_of_service]
|
||||
attributes = [:tag_list, :terms_of_service, :sdg_related_list]
|
||||
params.require(:debate).permit(attributes, translation_params(Debate))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user