Commit 0c994215 authored by Mario de la Ossa's avatar Mario de la Ossa

Backport changes in app/services/applications/create_service/rb

parent caadfcde
...@@ -2,8 +2,7 @@ module Applications ...@@ -2,8 +2,7 @@ module Applications
class CreateService class CreateService
def initialize(current_user, params) def initialize(current_user, params)
@current_user = current_user @current_user = current_user
@params = params @params = params.except(:ip_address)
@ip_address = @params.delete(:ip_address)
end end
def execute(request = nil) def execute(request = nil)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment