Sha256: 312d745dc962c59c98287c5ee305b99d7a8722725089272878cec5f62dcb8003
Contents?: true
Size: 686 Bytes
Versions: 15
Compression:
Stored size: 686 Bytes
Contents
# frozen_string_literal: true WorksCited.configure do |config| # This will dynamically generate a scope (.astrologians) and a boolean check (#astrologian?) # on WorksCited::Contributor config.valid_contributor_roles << 'astrologian' # This will dynamically generate a scope (.star_charts) and a boolean check (#star_chart?) # on WorksCited::Citation # # If you want to override the default view for any new (or existing) types: # List a citation: app/views/works_cited/citation_types/citation/_star_chart.html.[haml/erb] # Add/Edit a citation: app/views/works_cited/citation_types/fields/_star_chart.html.[haml/erb] config.valid_citation_types << 'star_chart' end
Version data entries
15 entries across 15 versions & 1 rubygems