HELLO v3!!!
This commit is contained in:
8
app/views/json/wp_version/version.erb
Normal file
8
app/views/json/wp_version/version.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<% if @version -%>
|
||||
"version": {
|
||||
"number": <%= @version.number.to_json %>,
|
||||
<%= render('@finding', item: @version) -%>
|
||||
},
|
||||
<% else -%>
|
||||
"version": null,
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user