aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/time_tables/month.rabl
diff options
context:
space:
mode:
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) }