Class: Spree::PageBuilderConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/spree/core.rb

Instance Method Summary collapse

Instance Method Details

#page_blocksObject



329
330
331
# File 'lib/spree/core.rb', line 329

def page_blocks
  Rails.application.config.spree.page_blocks
end

#page_blocks=(value) ⇒ Object



333
334
335
# File 'lib/spree/core.rb', line 333

def page_blocks=(value)
  Rails.application.config.spree.page_blocks = value
end

#page_sectionsObject



321
322
323
# File 'lib/spree/core.rb', line 321

def page_sections
  Rails.application.config.spree.page_sections
end

#page_sections=(value) ⇒ Object



325
326
327
# File 'lib/spree/core.rb', line 325

def page_sections=(value)
  Rails.application.config.spree.page_sections = value
end

#pagesObject



313
314
315
# File 'lib/spree/core.rb', line 313

def pages
  Rails.application.config.spree.pages
end

#pages=(value) ⇒ Object



317
318
319
# File 'lib/spree/core.rb', line 317

def pages=(value)
  Rails.application.config.spree.pages = value
end

#theme_layout_sectionsObject



305
306
307
# File 'lib/spree/core.rb', line 305

def theme_layout_sections
  Rails.application.config.spree.theme_layout_sections
end

#theme_layout_sections=(value) ⇒ Object



309
310
311
# File 'lib/spree/core.rb', line 309

def theme_layout_sections=(value)
  Rails.application.config.spree.theme_layout_sections = value
end

#themesObject



297
298
299
# File 'lib/spree/core.rb', line 297

def themes
  Rails.application.config.spree.themes
end

#themes=(value) ⇒ Object



301
302
303
# File 'lib/spree/core.rb', line 301

def themes=(value)
  Rails.application.config.spree.themes = value
end