Skip to content

Commit 6b11346

Browse files
committed
Alchemy 8: Update dummy app Alchemy initializer
1 parent feb3a5a commit 6b11346

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

spec/dummy/config/initializers/alchemy.rb

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
# Enable/Disable page caching globally.
1616
#
17-
# NOTE: You can enable/disable page caching for single Alchemy::PageLayouts in the page_layout.yml file.
17+
# NOTE: You can enable/disable page caching for single Alchemy::Definitions in the page_layout.yml file.
1818
#
1919
# config.cache_pages = true
2020

@@ -97,12 +97,12 @@
9797
# end
9898

9999
# This is the default language when seeding.
100-
# config.default_language.tap do |default_language|
101-
# default_language.code = "en"
102-
# default_language.name = "English"
103-
# default_language.page_layout = "index"
104-
# default_language.frontpage_name = "Index"
105-
# end
100+
config.default_language.tap do |default_language|
101+
default_language.code = "en"
102+
default_language.name = "English"
103+
# default_language.page_layout = "index"
104+
# default_language.frontpage_name = "Index"
105+
end
106106

107107
# === Mailer Settings:
108108
#
@@ -114,7 +114,7 @@
114114
#
115115
# ==== Options:
116116
#
117-
# page_layout_name: [String] # A +Alchemy::PageLayout+ name. Used to render the contactform on a page with this layout.
117+
# page_layout_name: [String] # A +Alchemy::PageDefinition+ name. Used to render the contactform on a page with this layout.
118118
# fields: [Array] # An Array of fieldnames.
119119
# validate_fields: [Array] # An Array of fieldnames to be validated on presence.
120120
#
@@ -193,4 +193,8 @@
193193

194194
# The sizes for the preview size select in the page editor.
195195
# config.page_preview_sizes = [360, 640, 768, 1024, 1280, 1440]
196+
197+
# The storage adapter for Pictures and Attachments
198+
#
199+
config.storage_adapter = "dragonfly"
196200
end

0 commit comments

Comments
 (0)