Sha256: a43eed65d386b81c738e9b50136486e10b36254a9d5c9b53f0fac6cc19d751b3
Contents?: true
Size: 1.03 KB
Versions: 25
Compression:
Stored size: 1.03 KB
Contents
# ----------------------------------------------------------------------------- # Author: Alexander Kravets <alex@slatestudio.com>, # Slate Studio (http://www.slatestudio.com) # # Coding Guide: # https://github.com/thoughtbot/guides/tree/master/style/coffeescript # ----------------------------------------------------------------------------- # ----------------------------------------------------------------------------- # RAILS ARRAY STORE # ----------------------------------------------------------------------------- # # Dependencies: #= require ./rails-form-object-parser # # ----------------------------------------------------------------------------- class @RailsArrayStore extends RestArrayStore # PRIVATE =============================================== _configure_store: -> @ajaxConfig = processData: false contentType: false _resource_url: (type, id) -> objectPath = if id then "/#{ id }" else '' "#{ @config.path }#{ objectPath }.json" include(RailsArrayStore, railsFormObjectParser)
Version data entries
25 entries across 25 versions & 1 rubygems