0

I am using high_voltage gem on a Rails 4 project. I have built two static pages so far. Following this tutorial here, I added an 'override' behavior for disabling the layout and disabling the user authentication. But still it is using the default 'application layout'. Did anyone else face the problem? Thank in advance.

Som Poddar
  • 1,428
  • 1
  • 15
  • 22

1 Answers1

1

Found it.

# config/initializers/high_voltage.rb
HighVoltage.configure do |config|
  config.layout = 'your_layout'
end

from gem wiki

Som Poddar
  • 1,428
  • 1
  • 15
  • 22