webdev.camp/config/initializers/high_voltage.rb

5 lines
143 B
Ruby

# use page path on root , rather than /pages/XXX
HighVoltage.configure do |config|
config.route_drawer = HighVoltage::RouteDrawers::Root
end