```ruby
Rails.application.routes.draw do

  get 'dev/log_in/:login(/:model)' => "dev_log_in#log_in"

end
```

Allow dots to be in login
user
```ruby
Rails.application.routes.draw do

  get 'dev/log_in/:login(/:model)' => "dev_log_in#log_in", constraints: {login: /[^\/]+/}

end
```
assistant