Method: Pageflow::ThemeCustomizations#get
- Defined in:
- lib/pageflow/theme_customizations.rb
#get(site:, entry_type_name:) ⇒ ThemeCustomization
Get customization for entry type and site.
36 37 38 39 |
# File 'lib/pageflow/theme_customizations.rb', line 36 def get(site:, entry_type_name:) ThemeCustomization .find_or_initialize_by(site: site, entry_type_name: entry_type_name) end |