Sha256: 18fba91edafd3993866f6788d433b88822782ae9c3abbcbb3a8311afff837b74
Contents?: true
Size: 252 Bytes
Versions: 2
Compression:
Stored size: 252 Bytes
Contents
view(:summary) do |briefcase, params| briefcase.present(:default, params).tap do |hash| if summary = where(title:"Summary",type:"page").first hash.merge!(summary: summary.to_model.as_json(:rendered=>true, :content=>true)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
brief-1.6.1 | apps/blueprint/config.rb |
brief-1.6.0 | apps/blueprint/config.rb |