Sha256: f2ce7be7c8a9eb053e01ba66b58da6b64940e306f0d5d5f34fb7c152489fd979
Contents?: true
Size: 462 Bytes
Versions: 8
Compression:
Stored size: 462 Bytes
Contents
class @AntsSettings constructor: (title, slug, formSchema, apiPath='/admin') -> config = title: title showWithParent: true objectStore: new RailsObjectStore({ resource: 'settings_object' path: "#{apiPath}/settings_objects/#{slug}" }) formSchema: values: type: 'hash' formSchema: formSchema onViewShow: (view) -> view.$el.addClass 'view-settings' return config
Version data entries
8 entries across 8 versions & 1 rubygems