Sha256: a3334202e5cdeac5455d848a90dc6649d351106d851f5f9182d3061a6d646158
Contents?: true
Size: 307 Bytes
Versions: 15
Compression:
Stored size: 307 Bytes
Contents
view(:summary) do |*args| params = args.extract_options! briefcase = args.first briefcase.present(:default, params).tap do |hash| if summary = briefcase.pages.find {|p| p.title == "Summary" } hash.merge!(summary: summary.to_model.as_json(:rendered=>true, :content=>true)) end end end
Version data entries
15 entries across 15 versions & 1 rubygems