Class: Mintaka::RouteDrawers::Root
- Inherits:
-
Object
- Object
- Mintaka::RouteDrawers::Root
- Defined in:
- lib/mintaka/route_drawers/root.rb
Overview
Matches routes from root of the domain e.g. www.example.com/about_us Uses Mintaka::Constraints::RootRoute to validate view exists.
Class Method Summary collapse
Class Method Details
.match_attributes ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/mintaka/route_drawers/root.rb', line 6 def self.match_attributes { "/*id" => 'mintaka/pages#show', :as => :page, :format => false, :constraints => Mintaka::Constraints::RootRoute } end |