Sha256: 1269dcdad403404320aa31a895bcdf5c220850c143c372d2278ebdfd0a0f44cb
Contents?: true
Size: 451 Bytes
Versions: 11
Compression:
Stored size: 451 Bytes
Contents
module HighVoltage module RouteDrawers # Matches routes from root of the domain e.g. http://www.example.com/about_us # Uses HighVoltage::Constraints::RootRoute to validate view exists. class Root def self.match_attributes { "/*id" => 'high_voltage/pages#show', :as => :page, :format => false, :constraints => HighVoltage::Constraints::RootRoute } end end end end
Version data entries
11 entries across 11 versions & 1 rubygems