Class: ServicesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ServicesController
- Defined in:
- app/controllers/services_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
caches_page_with_cache_marker, #raise_not_found!
Instance Method Details
#index ⇒ Object
9 10 11 12 13 |
# File 'app/controllers/services_controller.rb', line 9 def index @services = @structure.children # @rates = ReviewRate.visible.sorted.limit(3) respond_with @services end |
#show ⇒ Object
15 16 17 |
# File 'app/controllers/services_controller.rb', line 15 def show respond_with @structure end |