リビジョン 1378a95a
| app/controllers/glossary_terms_controller.rb | ||
|---|---|---|
|
|
||
|
def glossary_term_params
|
||
|
params.require(:glossary_term).permit(
|
||
|
:name, :description
|
||
|
:name, :description, :category_id
|
||
|
)
|
||
|
end
|
||
|
end
|
||
[phase-5]add category field to term index/detail view, and edit form