Class: Mintaka::RouteDrawers::Default
- Inherits:
-
Object
- Object
- Mintaka::RouteDrawers::Default
- Defined in:
- lib/mintaka/route_drawers/default.rb
Overview
Matches routes in the Mintaka.content_path directory. By default this looks for /pages/id. e.g. www.example.com/pages/about_us
Class Method Summary collapse
Class Method Details
.match_attributes ⇒ Object
6 7 8 9 10 11 12 |
# 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 |