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