Sha256: 58836ebedbeca56e9e0f39b440e7035e6892c659fcfdc8b7023779221b990419
Contents?: true
Size: 488 Bytes
Versions: 39
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true module Decidim module Budgets # This cell overrides *_path methods from Decidim::TagsCell for project tags class ProjectTagsCell < Decidim::TagsCell private def category_path resource_locator([model.budget, model]).index(filter: { category_id: [model.category.id.to_s] }) end def scope_path resource_locator([model.budget, model]).index(filter: { scope_id: [model.scope.id] }) end end end end
Version data entries
39 entries across 39 versions & 1 rubygems