apps/blueprint/models/project.rb in brief-1.17.0 vs apps/blueprint/models/project.rb in brief-1.17.1

- old
+ new

@@ -14,9 +14,19 @@ title "h1:first-of-type", :hide => true tagline "h2:first-of-type", :hide => true yaml_data "code.yaml:first-of-type", :serialize => :yaml, :hide => true end + actions do + def publish + BlueprintProjectPublisher.publish(self, via: briefcase.settings.try(:tracking_system)) + end + + def sync + BlueprintProjectPublisher.sync(self, via: briefcase.settings.try(:tracking_system)) + end + end + def epics briefcase.epics(project: title) end def sitemaps