Sha256: d37c293567ccf5562554d39cb3b807af4e189a84ed85dc56079bfd38a3ade0d7

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

<%= { :image      => (@asset.image? ? true : false), 
	  :content 	  => render(:partial => (@asset.image? ? "image" : "file"), :object => @asset), 
	  :created_at => @asset.timestamp, 
	  :name 	  => @asset.name,
	  :urls       => @asset.file_urls,
	  :icon  	  => file_icon_class(@asset),
	  :id		  => @asset.id.to_s
	}.to_json.html_safe %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
transit-0.0.2 app/views/transit/assets/create.js.erb