Skip to content

Commit 69a7196

Browse files
authored
Merge pull request #67 from plural/format-restrictions
Add restrictions relation to format resource.
2 parents 65f9b1b + bd1a538 commit 69a7196

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/resources/api/v3/public/format_resource.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ class Api::V3::Public::FormatResource < JSONAPI::Resource
99

1010
paginator :none
1111

12-
has_many :snapshots
1312
has_many :card_pools
13+
has_many :restrictions
14+
has_many :snapshots
1415
end
1516
end
1617
end

0 commit comments

Comments
 (0)