Sha256: 46356a64cb084997dfd64bd4ba63cabe876c2d8410f16a7da2a9be63b956212a

Contents?: true

Size: 280 Bytes

Versions: 10

Compression:

Stored size: 280 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
high_voltage-4.0.0 config/routes.rb
high_voltage-4.0.0.rc1 config/routes.rb
high_voltage-3.1.2 config/routes.rb
high_voltage-3.1.1 config/routes.rb
high_voltage-3.1.0 config/routes.rb
high_voltage-3.0.0 config/routes.rb
high_voltage-2.4.0 config/routes.rb
high_voltage-2.3.0 config/routes.rb
high_voltage-2.2.1 config/routes.rb
high_voltage-2.2.0 config/routes.rb