Class: LinkedRails::Actions::ListPolicy

Inherits:
Object
  • Object
show all
Defined in:
app/policies/linked_rails/actions/list_policy.rb

Instance Method Summary collapse

Instance Method Details

#show?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'app/policies/linked_rails/actions/list_policy.rb', line 6

def show?
  parent_policy.blank? ? true : parent_policy.show?
end