Remove unneeded format block

This commit is contained in:
Luke "Jared" Bennett 2017-04-14 11:34:50 +01:00
parent b24cb99856
commit fb20dcf8e6
No known key found for this signature in database
GPG key ID: 402ED51FB5D306C2

View file

@ -1,10 +1,6 @@
class StatusEntity < Grape::Entity class StatusEntity < Grape::Entity
include RequestAwareEntity include RequestAwareEntity
format_with(:status_favicon_path) do |favicon_name|
ci_status_favicon_path(favicon_name)
end
expose :icon, :text, :label, :group expose :icon, :text, :label, :group
expose :has_details?, as: :has_details expose :has_details?, as: :has_details