aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/line_footnotes
diff options
context:
space:
mode:
authorXinhui2017-02-15 10:45:08 +0100
committerXinhui2017-02-15 10:45:08 +0100
commitc6230a7ca7ff6cbcb1d685527f80e0fb3d1aad8f (patch)
treebc5bc55d7df6164df753fac45373244827f9fd89 /app/views/line_footnotes
parent35b6a919e1eedb10b88385fb7f36c799794225d6 (diff)
downloadchouette-core-c6230a7ca7ff6cbcb1d685527f80e0fb3d1aad8f.tar.bz2
Wip line_footnotes#show json format
Diffstat (limited to 'app/views/line_footnotes')
-rw-r--r--app/views/line_footnotes/show.rabl9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/line_footnotes/show.rabl b/app/views/line_footnotes/show.rabl
new file mode 100644
index 000000000..5cec1ceb5
--- /dev/null
+++ b/app/views/line_footnotes/show.rabl
@@ -0,0 +1,9 @@
+collection @footnotes
+
+node do |footnote|
+ {
+ :id => footnote.id,
+ :code => footnote.code,
+ :label => footnote.label
+ }
+end