Fix uncaught NoMethodError in POST /api/v1/featured_tags
(#25063)
This commit is contained in:
parent
c59cbf1a38
commit
5009e9aed5
1 changed files with 1 additions and 1 deletions
|
@ -33,6 +33,6 @@ class Api::V1::FeaturedTagsController < Api::BaseController
|
||||||
end
|
end
|
||||||
|
|
||||||
def featured_tag_params
|
def featured_tag_params
|
||||||
params.permit(:name)
|
params.require(:name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue