cortex-cms/cortex

View on GitHub
app/helpers/cortex/cells/association_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Cortex
  module Cells
    module AssociationHelper
      def associated_content_item
        @options[:associated_content_item]
      end

      def associated_primary_field
        @options[:associated_primary_field]
      end

      def associated_primary_field_type_class
        @options[:associated_primary_field_type_class]
      end

      def associated_primary_field_item
        @options[:associated_primary_field_item]
      end

      def associated_content_item_title
        @options[:associated_content_item_title]
      end
    end
  end
end