Updating templates
This commit is contained in:
parent
529e78e098
commit
fb34e8e292
3 changed files with 9 additions and 7 deletions
4
app/views/api/v1/grid_weapons/base.json.rabl
Normal file
4
app/views/api/v1/grid_weapons/base.json.rabl
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
attributes :id,
|
||||||
|
:mainhand,
|
||||||
|
:position,
|
||||||
|
:weapon
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
object @weapon
|
|
||||||
|
|
||||||
attributes :id,
|
|
||||||
:party_id,
|
|
||||||
:weapon_id,
|
|
||||||
:position
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
object :party
|
object :party
|
||||||
|
|
||||||
attributes :id, :shortcode
|
attributes :id, :shortcode
|
||||||
|
|
||||||
|
node :grid do |p|
|
||||||
|
partial('grid_weapons/base', :object => p.weapons)
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue