Sha256: 416cb92176dba5325a1299ffa11e9d93debe1c26fb834d3fb42eccd140d2f609
Contents?: true
Size: 259 Bytes
Versions: 44
Compression:
Stored size: 259 Bytes
Contents
collection @content_views if params.key?(:include_permissions) user = User.current # current_user is not available here node do node(:can_create) { user.can?("create_content_views") } node(:can_view) { user.can?("view_content_views") } end end
Version data entries
44 entries across 44 versions & 1 rubygems