aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/time_tables/month.rabl
diff options
context:
space:
mode:
authorVlatka Pavisic2017-04-11 15:40:45 +0200
committerVlatka Pavisic2017-04-11 15:40:45 +0200
commit28609cb29c9a637ac32c0b54a793efb66ca3ae1a (patch)
tree71ab9c9ec39eea5983872d44795dafa346079855 /app/views/time_tables/month.rabl
parentaa481c087b162bc775b4418e205f91c5b6bead19 (diff)
parentfa17af2fbda1266af88cf05bcb7765abda745cb4 (diff)
downloadchouette-core-28609cb29c9a637ac32c0b54a793efb66ca3ae1a.tar.bz2
Refs #3047 : Merge
Diffstat (limited to 'app/views/time_tables/month.rabl')
-rw-r--r--app/views/time_tables/month.rabl4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/time_tables/month.rabl b/app/views/time_tables/month.rabl
new file mode 100644
index 000000000..571abfb0c
--- /dev/null
+++ b/app/views/time_tables/month.rabl
@@ -0,0 +1,4 @@
+object @time_table
+
+node(:name) { I18n.l(@date, format: '%B') }
+node(:days) {|tt| tt.month_inspect(@date) }