Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Damian Galarza and Tute Costa
11 lines (9 sloc) 0.28 kb
HighVoltage.parent_engine.routes.draw do
if HighVoltage.home_page
get "/#{HighVoltage.home_page}", to: redirect('/')
root to: 'high_voltage/pages#show', id: HighVoltage.home_page
end
if HighVoltage.routes
get HighVoltage.route_drawer.match_attributes
end
end
Jump to Line
Something went wrong with that request. Please try again.