Dynamic pages, language switcher and fix schedule drag drop time mismatch bug

This commit is contained in:
2015-02-21 15:05:45 +01:00
parent e60955130a
commit c8109c8ad6
29 changed files with 163 additions and 40 deletions
@@ -0,0 +1,11 @@
class Suppliers::PageSerializer < Qwaiter::Serializer
self.root = :page
attributes :name, :title, :body, :locale, :position
def name
object.name.to_s.sub /^suppliers-/, ''
end
def id
name
end
end