Class: Comee::Core::ItemStatusesController

Inherits:
ApplicationController show all
Includes:
Common
Defined in:
app/controllers/comee/core/item_statuses_controller.rb

Instance Method Summary collapse

Methods included from Common

#create, #index, #show, #update

Methods included from Pagination

#default_per_page, #order_by, #order_direction, #page_no, #paginate, #paginate_offset, #per_page

Methods inherited from ApplicationController

#application_code, #authenticate, #current_application, #current_user, #render_content, #render_error, #skip_bullet

Instance Method Details

#filterObject



6
7
8
9
# File 'app/controllers/comee/core/item_statuses_controller.rb', line 6

def filter
  item_statuses = ItemStatus.ransack(params[:q]).result
  render_content(item_statuses)
end