diff options
author | James Lopez <james@jameslopez.es> | 2017-07-06 15:19:14 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-07-06 15:27:49 +0200 |
commit | 2aa95aa0185c94aefd6e51a35c62650d75d3c8b6 (patch) | |
tree | b1f7811bab8da709de2f5d6f26fb6c47e1840813 /lib/api/entities.rb | |
parent | 47e17fe12ad009656f0b20469f930d1aa0e742e6 (diff) | |
download | gitlab-ce-2aa95aa0185c94aefd6e51a35c62650d75d3c8b6.tar.gz |
refactor code based on feedback
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 33620473175..44b8c6e010d 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -879,7 +879,7 @@ module API class UserAgentDetail < Grape::Entity expose :user_agent expose :ip_address - expose :submitted + expose :submitted, as: :akismet_submitted end end end |