diff --git a/app/controllers/cards_controller.rb b/app/controllers/cards_controller.rb index 0dc1148b1..361415dec 100644 --- a/app/controllers/cards_controller.rb +++ b/app/controllers/cards_controller.rb @@ -18,6 +18,7 @@ class CardsController < ApplicationController format.json do card = @board.cards.create! card_params.merge(creator: Current.user) + card.publish head :created, location: card_path(card, format: :json) end end