Improve JwtController

This commit is contained in:
Kamil Trzcinski 2016-05-14 19:45:33 -05:00
parent f4f9184a01
commit 8d445fe665
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class JwtController < ApplicationController
def auth
service = SERVICES[params[:service]]
head :not_found unless service
return head :not_found unless service
result = service.new(@project, @user, auth_params).execute