class Mintaka::RouteDrawers::Default

Matches routes in the Mintaka.content_path directory. By default this looks for /pages/id. e.g. www.example.com/pages/about_us

Public Class Methods

match_attributes() click to toggle source
# File lib/mintaka/route_drawers/default.rb, line 6
def self.match_attributes
  {
    "/#{Mintaka.content_path}*id" => 'mintaka/pages#show',
    :as => :page,
    :format => false
  }
end