Sha256: 88f8dad4a7562037f443e4ad579e45b8291474290222bebf77892beffffb7dcd

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

LayoutOptions.setup do |config|
  # layout_options assumes the default layout to use is the 'applicaiton' layout.
  # If this isn't the case just change the value here.
  #
  # When wouldn't you want the default layout to be 'application?' If you make a
  # rails engine and assume the 'application' layout, your views will conflict with
  # the 'application.html.erb' layout that gets generated with a rails install.
  config.default_layout = :application
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
layout_options-0.2.2 spec/rails_root/config/initializers/layout_options.rb
layout_options-0.2.1 spec/rails_root/config/initializers/layout_options.rb