Fixed action name in JobsController

This commit is contained in:
Francisco Javier López 2018-12-17 19:22:03 +01:00
parent 4a10c813e7
commit bada3f415f
No known key found for this signature in database
GPG Key ID: A12DF17E9D5DDF3C
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Projects::JobsController < Projects::ApplicationController
before_action :authorize_update_build!,
except: [:index, :show, :status, :raw, :trace, :cancel_all, :erase]
before_action :authorize_erase_build!, only: [:erase]
before_action :authorize_use_build_terminal!, only: [:terminal, :terminal_workhorse_authorize]
before_action :authorize_use_build_terminal!, only: [:terminal, :terminal_websocket_authorize]
before_action :verify_api_request!, only: :terminal_websocket_authorize
layout 'project'