fixed banner增加url跳转

This commit is contained in:
“xxq250” 2022-11-17 15:00:49 +08:00
parent 19d32799a9
commit 98f30b4a3e
1 changed files with 1 additions and 1 deletions

View File

@ -53,6 +53,6 @@ class Admins::Topic::BannersController < Admins::Topic::BaseController
end
def banner_params
params.require(:topic_banner).permit(:title, :order_index)
params.require(:topic_banner).permit(:title, :order_index, :url)
end
end