Sha256: d40d57b243267d68b6442fa4d2121bcec66ab9c1ef8e1bfd46d70ae830e63055

Contents?: true

Size: 239 Bytes

Versions: 16

Compression:

Stored size: 239 Bytes

Contents

collection @posts => :articles

extends "posts/show"

node(:created_by_admin, :if => lambda { |p| p.user.is_admin }) do |p|
  true
end

child({ :user => :admin }, { :if => lambda { |p| p.user.is_admin  }}) do |p|
  extends "users/show"
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rabl-0.6.1 fixtures/ashared/views/posts/index.json.rabl
rabl-0.6.0 fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.j fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.i fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.h fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.g fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.f fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.e fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.d fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.c fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.b fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.5.a fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.4 fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.3 fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.1 fixtures/ashared/views/posts/index.json.rabl
rabl-0.5.0 fixtures/ashared/views/posts/index.json.rabl