Sha256: e357d8bbe0e0c4c36859fa7004e4c11c2247d05f4fa4d9e695cd9ecdcdfb0123

Contents?: true

Size: 981 Bytes

Versions: 25

Compression:

Stored size: 981 Bytes

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 OBJECT STORE
# -----------------------------------------------------------------------------
#
# Dependencies:
#= require ./rails-form-object-parser
#
# -----------------------------------------------------------------------------
class @RailsObjectStore extends RestObjectStore

  # PRIVATE ===============================================

  _configure_store: ->
    @ajaxConfig =
      processData: false
      contentType: false


  _resource_url: ->
    "#{ @config.path }.json"


include(RailsObjectStore, railsFormObjectParser)




Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
chr-0.4.12 app/assets/javascripts/stores/rails-object.coffee
chr-0.4.11 app/assets/javascripts/stores/rails-object.coffee
chr-0.4.10 app/assets/javascripts/stores/rails-object.coffee
chr-0.4.9 app/assets/javascripts/stores/rails-object.coffee
chr-0.3.5 app/assets/javascripts/chr/store/rails-object-store.coffee