mysociety/alaveteli

View on GitHub
app/models/alaveteli_pro/activity_list/very_overdue.rb

Summary

Maintainability
A
0 mins
Test Coverage
module AlaveteliPro
  module ActivityList
    class VeryOverdue < Item
      def description
        N_('{{public_body_name}} became long overdue in responding to your request "{{info_request_title}}".')
      end

      def call_to_action
        _("Request an internal review")
      end

      def call_to_action_url
        new_request_followup_path(
          event.info_request.url_title,
          anchor: 'followup',
          internal_review: 1
        )
      end
    end
  end
end