Class: Doc::CellsWidgetsController

Inherits:
DocController
  • Object
show all
Defined in:
app/controllers/lato_core/doc/cells_widgets_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
# File 'app/controllers/lato_core/doc/cells_widgets_controller.rb', line 4

def index
  @superusers = LatoCore::Superuser.all
  @widget_index_superusers = core__widgets_index(@superusers, search: 'surname', pagination: 10)
end

#index_v2Object



9
10
11
# File 'app/controllers/lato_core/doc/cells_widgets_controller.rb', line 9

def index_v2
  @superusers = LatoCore::Superuser.all
end