Class: Decidim::UserTimelineCell

Inherits:
ViewModel
  • Object
show all
Includes:
Cell::ViewModel::Partial, CellsPaginateHelper
Defined in:
decidim-core/app/cells/decidim/user_timeline_cell.rb

Instance Method Summary collapse

Instance Method Details

#activitiesObject


13
14
15
# File 'decidim-core/app/cells/decidim/user_timeline_cell.rb', line 13

def activities
  context[:activities]
end

#resource_typesObject


17
18
19
# File 'decidim-core/app/cells/decidim/user_timeline_cell.rb', line 17

def resource_types
  context[:resource_types]
end

#showObject


9
10
11
# File 'decidim-core/app/cells/decidim/user_timeline_cell.rb', line 9

def show
  render :show
end