Sha256: 90e4834001d2ccb62b263376ce519af2226bd64ce070f14f80d111d11a2c1e89
Contents?: true
Size: 364 Bytes
Versions: 12
Compression:
Stored size: 364 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) controller.view_context.render partial: "decidim/shared/follow_button", locals: { followable: model, large: large } end end end
Version data entries
12 entries across 12 versions & 1 rubygems