Sha256: 59d1abcf1b3da73f141306f3191b9237c7b0f026584b67b0d4a361319abd6199
Contents?: true
Size: 470 Bytes
Versions: 8
Compression:
Stored size: 470 Bytes
Contents
# frozen_string_literal: true require "active_support/concern" module Decidim # A controller concern to enable flagging capabilities to its resources. Only # affects the UI, so make sure you check the controller resources implement # the `Decidim::Reportable` model concern. module Flaggable extend ActiveSupport::Concern included do helper_method :flaggable_controller? def flaggable_controller? true end end end end
Version data entries
8 entries across 8 versions & 1 rubygems