Class: Brut::FrontEnd::Routing::PageRoute
- Defined in:
- lib/brut/front_end/routing.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Route
#handler_class, #http_method, #path_template
Instance Method Summary collapse
-
#initialize(path_template) ⇒ PageRoute
constructor
A new instance of PageRoute.
-
#preposition ⇒ Object
-
#suffix ⇒ Object
Methods inherited from Route
#==, #path, #path_params, #url
Constructor Details
#initialize(path_template) ⇒ PageRoute
Returns a new instance of PageRoute.
359 360 361 |
# File 'lib/brut/front_end/routing.rb', line 359 def initialize(path_template) super(Brut::FrontEnd::HttpMethod.new(:get),path_template) end |
Instance Method Details
#preposition ⇒ Object
363 |
# File 'lib/brut/front_end/routing.rb', line 363 def preposition = "By" |
#suffix ⇒ Object
362 |
# File 'lib/brut/front_end/routing.rb', line 362 def suffix = "Page" |