Sha256: 26dfe71c48dc6d681c90cd1fc9c30e58cdd159d87b914d7ac49ef8f671fe55f8
Contents?: true
Size: 318 Bytes
Versions: 6
Compression:
Stored size: 318 Bytes
Contents
module JobNotifier class JobsController < ActionController::Base skip_before_action :verify_authenticity_token def index render json: Job.unnotified_by_identifier(params[:identifier]) end def update Job.notify_by_identifier(params[:identifier]) head :no_content end end end
Version data entries
6 entries across 6 versions & 1 rubygems