doesn't look good for now, take it out, add it later

This commit is contained in:
Connor Turland 2016-03-13 11:58:09 +11:00
parent 77d69dd2a3
commit 72b2e8f8f2

View file

@ -3,10 +3,7 @@ class Webhooks::Slack::TopicAddedToMap < Webhooks::Slack::Base
def text def text
"New #{eventable.mappable.metacode.name} topic *#{eventable.mappable.name}* was added to the map *#{view_map_on_metamaps()}*" "New #{eventable.mappable.metacode.name} topic *#{eventable.mappable.name}* was added to the map *#{view_map_on_metamaps()}*"
end end
# todo: it would be sweet if it sends it with the metacode as the icon_url
def icon_url
eventable.mappable.metacode.icon
end
def attachment_fallback def attachment_fallback
"" #{}"*#{eventable.name}*\n#{eventable.description}\n" "" #{}"*#{eventable.name}*\n#{eventable.description}\n"