app/controllers/application_controller.rb
# Send an object along with the initial HTML response that will be loaded into
# Ember Data's cache.
Send an object along with the initial HTML response that will be loaded into
Ember Data's cache.
Send an object along with the initial HTML response that will be loaded into Ember Data ' s cache .
def preload_to_ember!(data, options = {})
    @preload ||= []
    data = ed_serialize(data, options)
    @preload << data unless data.nil?
  end
def preload_to_ember! ( data , options = { } ) @preload ||= [ ] data = ed_serialize ( data , options ) @preload << data unless data . nil? end
Send an object along with the initial HTML response that will be loaded into
Ember Data's cache.
Send an object along with the initial HTML response that will be loaded into Ember Data ' s cache .
data
<not_specific>
options
<not_specific>