Sha256: 0ebabd3a0041e30a16ce9227459c48f3ff83ec757bfdf684184ce69431deac68

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

script Sprangular.constant('Env', #{ js_environment.to_json.html_safe })

- if @user
  script
    | Sprangular.startupData.User = #{render(template: 'sprangular/accounts/show', formats: [:json]).html_safe}

- if @order
  script
    | Sprangular.startupData.Order = #{render(template: 'spree/api/orders/show', formats: [:json]).html_safe}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprangular-0.1.0 app/views/sprangular/home/index.slim
sprangular-0.0.1 app/views/sprangular/home/index.slim