We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Is there a way to add a default value to expose in case of the value is not present? For example
expose
expose :tags do |filter| filter[:tags].present? ? filter[:tags] : "all" end
could be replaced by expose :tags, default: "all"
expose :tags, default: "all"