Sha256: cd6e4d0771962972813eb1445a37fd6f8b2339469aaee984293029b9cb065dd3

Contents?: true

Size: 391 Bytes

Versions: 13

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Surveys
    # A cell to display when a Survey has been published.
    class SurveyActivityCell < ActivityCell
      include Decidim::ComponentPathHelper

      def title
        I18n.t("decidim.surveys.last_activity.new_survey")
      end

      def activity_link_path
        main_component_path(component)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-surveys-0.29.1 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.28.4 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.29.0 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.28.3 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.29.0.rc4 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.29.0.rc3 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.29.0.rc2 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.29.0.rc1 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.28.2 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.28.1 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.28.0 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.28.0.rc5 app/cells/decidim/surveys/survey_activity_cell.rb
decidim-surveys-0.28.0.rc4 app/cells/decidim/surveys/survey_activity_cell.rb