Class: Xhive::WidgetsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Xhive::WidgetsController
- Defined in:
- app/controllers/xhive/widgets_controller.rb
Instance Method Summary collapse
Methods included from Controller
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/controllers/xhive/widgets_controller.rb', line 5 def show # Looks for a route matching the request path route = extract_route parameters = extract_parameters(route) render :text => rendered_cell_content(route, parameters), :status => 200 rescue => e render :text => 'Not found', :status => 404 end |