Fix uncaught NoMethodError in POST `/api/v1/featured_tags` (#25063)

pull/25072/head
Daniel M Brasil 2 years ago committed by GitHub
parent 2a61f14753
commit 45d98959ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save