mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Merge branch 'ouvrages-exclude_nil_links'
This commit is contained in:
@@ -17,6 +17,7 @@ module ActiveModelSerializers
|
||||
link :yet_another do
|
||||
"http://example.com/resource/#{object.id}"
|
||||
end
|
||||
link(:nil) { nil }
|
||||
end
|
||||
|
||||
def setup
|
||||
|
||||
Reference in New Issue
Block a user