Class: LesliBabel::ModulesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/lesli_babel/modules_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

GET /modules



38
39
# File 'app/controllers/lesli_babel/modules_controller.rb', line 38

def index
end

#showObject

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