Merge branch 'ouvrages-exclude_nil_links'

This commit is contained in:
Benjamin Fleischer
2016-06-09 02:51:26 -05:00
4 changed files with 5 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ module ActiveModelSerializers
link :yet_another do
"http://example.com/resource/#{object.id}"
end
link(:nil) { nil }
end
def setup