Module: Resourceize::RoutingMethods
- Included in:
- ResourcesController
- Defined in:
- lib/resourceize/routing_methods.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/resourceize/routing_methods.rb', line 21 def self.included(base) base.send :include, InstanceMethods base.send :helper_method, :object_path base.send :helper_method, :edit_object_path base.send :helper_method, :new_object_path base.send :helper_method, :collection_path base.send :helper_method, :object_url base.send :helper_method, :edit_object_url base.send :helper_method, :new_object_url base.send :helper_method, :collection_url end |