diff options
author | Mario de la Ossa <mariodelaossa@gmail.com> | 2018-06-03 02:16:36 +0300 |
---|---|---|
committer | Mario de la Ossa <mariodelaossa@gmail.com> | 2018-06-03 03:44:32 +0300 |
commit | 0c994215af61f8b15f90a5d996f5ba35e94be860 (patch) | |
tree | 89b85e12fccddb09b42c06e156363422ed115172 /app/services/applications | |
parent | caadfcdee31237bbfbcfb304346fc4a5994295dd (diff) |
Backport changes in app/services/applications/create_service/rb
Diffstat (limited to 'app/services/applications')
-rw-r--r-- | app/services/applications/create_service.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/services/applications/create_service.rb b/app/services/applications/create_service.rb index 35d45f25a71..e67af929954 100644 --- a/app/services/applications/create_service.rb +++ b/app/services/applications/create_service.rb @@ -2,8 +2,7 @@ module Applications class CreateService def initialize(current_user, params) @current_user = current_user - @params = params - @ip_address = @params.delete(:ip_address) + @params = params.except(:ip_address) end def execute(request = nil) |