Sha256: 7a3a56e493178c826af1be05ba3c108201a60710e7d7660b421ea770ae331676
Contents?: true
Size: 392 Bytes
Versions: 18
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true module Thredded # @api private module NewTopicParams protected def new_topic_params params .fetch(:topic, {}) .permit(:title, :locked, :sticky, :content, category_ids: []) .merge( messageboard: messageboard, user: thredded_current_user, ip: request.remote_ip, ) end end end
Version data entries
18 entries across 18 versions & 2 rubygems