apps/blueprint/models/feature.rb in brief-1.17.2 vs apps/blueprint/models/feature.rb in brief-1.17.3
- old
+ new
@@ -1,7 +1,8 @@
class Brief::Apps::Blueprint::Feature
include Brief::Model
+ include Brief::RemoteSyncing
defined_in Pathname(__FILE__)
meta do
title
@@ -25,14 +26,14 @@
settings "pre[lang='yaml'] code:first-of-type", :serialize => :yaml, :hide => true
end
actions do
def publish
- BlueprintFeaturePublisher.publish(self, via: briefcase.settings.try(:tracking_system))
+ publish_service.publish(self, via: briefcase.settings.try(:tracking_system))
end
def sync
- BlueprintFeaturePublisher.sync(self, via: briefcase.settings.try(:tracking_system))
+ sync_service.sync(self, via: briefcase.settings.try(:tracking_system))
end
end
helpers do
def parent_epic