mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
.jbuilder as a Ruby extension
This commit is contained in:
@@ -2666,6 +2666,7 @@ Ruby:
|
||||
- .gemspec
|
||||
- .god
|
||||
- .irbrc
|
||||
- .jbuilder
|
||||
- .mspec
|
||||
- .pluginspec
|
||||
- .podspec
|
||||
|
||||
4
samples/Ruby/index.json.jbuilder
Normal file
4
samples/Ruby/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.array!(@courts) do |court|
|
||||
json.extract! court, :id, :name_r, :region, :region_r, :email, :website
|
||||
json.url court_url(court, format: :json)
|
||||
end
|
||||
Reference in New Issue
Block a user