class Mintaka::RouteDrawers::Root

Matches routes from root of the domain e.g. www.example.com/about_us Uses Mintaka::Constraints::RootRoute to validate view exists.

Public Class Methods

match_attributes() click to toggle source
# 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