Sha256: df73f4e1ea68f7d10fcc5eea0f07682d96eb0f08cb93635fae3a774666618af9
Contents?: true
Size: 345 Bytes
Versions: 34
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true module Decidim # A Helper for views with Followable resources. module FollowableHelper # Invokes the decidim/shared/follow_button partial. def follow_button_for(model, large = nil) render partial: "decidim/shared/follow_button.html", locals: { followable: model, large: large } end end end
Version data entries
34 entries across 34 versions & 1 rubygems