Sha256: bdc10d1516703b6d7464d30995f75c86b228380c7b452122fe0e01cb15ba5d5a

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

Rails.application.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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
high_voltage-2.1.0 config/routes.rb