Class: ResourceFull::Controllers::RoutesController
- Inherits:
-
Base
- Object
- ActionController::Base
- Base
- ResourceFull::Controllers::RoutesController
show all
- Defined in:
- lib/resource_full/controllers/routes_controller.rb
Instance Method Summary
collapse
Methods inherited from Base
all_resources, controller_for, #model_class, #model_name
Instance Method Details
#find_all_routes ⇒ Object
#index_xml ⇒ Object
7
8
9
|
# File 'lib/resource_full/controllers/routes_controller.rb', line 7
def index_xml
render :xml => find_all_routes.to_xml(:root => "routes")
end
|