Module: RaketaAdmin::ResourceBuilder
- Defined in:
- lib/raketa_admin/resource_builder.rb
Instance Method Summary collapse
- #create_nested_resource(routing_adapter, parent, resource, handler) ⇒ Object
- #create_resource(routing_adapter, resource, handler) ⇒ Object
Instance Method Details
#create_nested_resource(routing_adapter, parent, resource, handler) ⇒ Object
9 10 11 |
# File 'lib/raketa_admin/resource_builder.rb', line 9 def create_nested_resource(routing_adapter, parent, resource, handler) routing_adapter.generate_routes(self, resource, handler, parent) end |
#create_resource(routing_adapter, resource, handler) ⇒ Object
5 6 7 |
# File 'lib/raketa_admin/resource_builder.rb', line 5 def create_resource(routing_adapter, resource, handler) routing_adapter.generate_routes(self, resource, handler) end |