2016-09-24 11:00:46 +08:00
|
|
|
# frozen_string_literal: true
|
2017-11-25 11:23:47 -08:00
|
|
|
|
2016-03-13 10:36:38 +11:00
|
|
|
class Webhooks::Slack::TopicAddedToMap < Webhooks::Slack::Base
|
|
|
|
def text
|
2016-12-16 16:51:52 -05:00
|
|
|
"*#{eventable.name}* was added by *#{event.user.name}* to the map *#{view_map_on_metamaps}*"
|
2016-03-13 10:36:38 +11:00
|
|
|
end
|
2016-07-26 08:14:23 +08:00
|
|
|
# TODO: it would be sweet if it sends it with the metacode as the icon_url
|
2016-03-13 10:36:38 +11:00
|
|
|
end
|