Class: Brut::FrontEnd::Routing::FormRoute
- Defined in:
- lib/brut/front_end/routing.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#form_class ⇒ Object
readonly
Returns the value of attribute form_class.
Attributes inherited from Route
#handler_class, #http_method, #path_template
Instance Method Summary collapse
-
#initialize(path_template) ⇒ FormRoute
constructor
A new instance of FormRoute.
Methods inherited from Route
#==, #path, #path_params, #url
Constructor Details
#initialize(path_template) ⇒ FormRoute
Returns a new instance of FormRoute.
368 369 370 371 |
# File 'lib/brut/front_end/routing.rb', line 368 def initialize(path_template) super(Brut::FrontEnd::HttpMethod.new(:post),path_template) @form_class = self.locate_handler_class("Form","With") end |
Instance Attribute Details
#form_class ⇒ Object (readonly)
Returns the value of attribute form_class.
367 368 369 |
# File 'lib/brut/front_end/routing.rb', line 367 def form_class @form_class end |