Class: Decidim::UserActivityCell

Inherits:
ViewModel
  • Object
show all
Includes:
ActionView::Helpers::FormOptionsHelper, Cell::ViewModel::Partial, CellsPaginateHelper, FiltersHelper, LayoutHelper
Defined in:
decidim-core/app/cells/decidim/user_activity_cell.rb

Instance Method Summary collapse

Instance Method Details

#activitiesObject


16
17
18
# File 'decidim-core/app/cells/decidim/user_activity_cell.rb', line 16

def activities
  context[:activities]
end

#resource_typesObject


20
21
22
# File 'decidim-core/app/cells/decidim/user_activity_cell.rb', line 20

def resource_types
  context[:resource_types]
end

#showObject


12
13
14
# File 'decidim-core/app/cells/decidim/user_activity_cell.rb', line 12

def show
  render :show
end