Class: Decidim::Surveys::SurveyActivityCell
- Inherits:
-
ActivityCell
- Object
- ActivityCell
- Decidim::Surveys::SurveyActivityCell
- Includes:
- ComponentPathHelper
- Defined in:
- app/cells/decidim/surveys/survey_activity_cell.rb
Overview
A cell to display when a Survey has been published.
Instance Method Summary collapse
Instance Method Details
#activity_link_path ⇒ Object
13 14 15 |
# File 'app/cells/decidim/surveys/survey_activity_cell.rb', line 13 def activity_link_path main_component_path(component) end |
#title ⇒ Object
9 10 11 |
# File 'app/cells/decidim/surveys/survey_activity_cell.rb', line 9 def title I18n.t("decidim.surveys.last_activity.new_survey") end |