#465: Fixed: Pundit::AuthorizationNotPerformedError

This commit is contained in:
Vokhmin Alexey V 2015-04-18 14:00:05 +03:00
parent 477a0761d7
commit bb8a4aa227
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ class Api::V1::JobsController < Api::V1::BaseController
QUEUE_CLASSES = %w(AbfWorker::RpmWorkerObserver)
before_action :authenticate_user!
skip_after_action :verify_authorized
def shift
@build_list = BuildList.next_build(arch_ids, platform_ids) if current_user.system?