Sha256: d931b7452e61995f841e6fbbb2c4734483eb4b36667257aa0844205a668758f1
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
class ProjectTicketsSyncController < ApplicationController before_filter :find_project def show render json: @project.ticket_tracker_sync_in_progress?, status: :ok end def create SyncProjectTicketsJob.new(@project).run! head :ok end private def find_project @project = Project.find_by_slug!(params[:slug]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
houston-core-0.5.0.beta1 | app/controllers/project_tickets_sync_controller.rb |