Class: LesliBabel::ModulesController
- Inherits:
-
ApplicationController
- Object
- Lesli::ApplicationLesliController
- ApplicationController
- LesliBabel::ModulesController
- Defined in:
- app/controllers/lesli_babel/modules_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /modules.
-
#show ⇒ Object
GET /modules/1.
Instance Method Details
#index ⇒ Object
GET /modules
38 39 |
# File 'app/controllers/lesli_babel/modules_controller.rb', line 38 def index end |
#show ⇒ Object
GET /modules/1
42 43 44 45 |
# File 'app/controllers/lesli_babel/modules_controller.rb', line 42 def show @labels = respond_with_pagination(LabelService.new(current_user, query).index({ modules_id: @module.id })) render("lesli_babel/labels/index") end |