Add layout and content_path configuration options #22

merged 3 commits into from Oct 5, 2011


None yet

2 participants


Added support for HighVoltage::layout and HighVoltage::content_path configuration options.

Tests are included in this commit. I'll add a generator for the initializer in my next commit. If you'd like to check it out before then, you can use the following initializer as config/initializers/high_voltage.rb:

HighVoltage.setup do |config|
  # Location of your static content
  config.content_path = 'pages/'

  # Layout that will be used to render your pages
  config.layout = 'application'

Hey guys. Have you had time to review the attached commits?

@mike-burns mike-burns merged commit 634cbbc into thoughtbot:master Oct 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment